From d1243447ad00f528b0902f581d01ef114fda4d03 Mon Sep 17 00:00:00 2001 From: Tiexin Guo Date: Mon, 23 Sep 2024 10:29:27 +0800 Subject: [PATCH] chore: fix test --- internals/cli/cmd_add_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internals/cli/cmd_add_test.go b/internals/cli/cmd_add_test.go index 83db69da..a9990c58 100644 --- a/internals/cli/cmd_add_test.go +++ b/internals/cli/cmd_add_test.go @@ -109,5 +109,6 @@ services: args = append(args, "extra", "arguments", "invalid") _, err = cli.ParserForTest().ParseArgs(args) c.Assert(err, check.Equals, cli.ErrExtraArgs) + s.ResetStdStreams() } }