From 9c069328199f1bf132762b36d11711b6ebc65824 Mon Sep 17 00:00:00 2001 From: "Hsing-Yu (David) Chen" Date: Thu, 12 Jan 2023 15:04:08 -0800 Subject: [PATCH] update function signature Signed-off-by: Hsing-Yu (David) Chen --- e2e/version_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/version_test.go b/e2e/version_test.go index 5e497e9e8..fe88e5b0a 100644 --- a/e2e/version_test.go +++ b/e2e/version_test.go @@ -21,7 +21,7 @@ var testVersion = func(o *option.Option) { ginkgo.It("Should print finch version information", func() { // StdoutStr is not used because it trims both leading and trailing spaces, // while we want an exact match here. - gomega.Expect(string(command.StdOut(o, "version"))).Should(gomega.MatchRegexp(fmt.Sprintf(`Client: + gomega.Expect(string(command.Stdout(o, "version"))).Should(gomega.MatchRegexp(fmt.Sprintf(`Client: Version: %s OS\/Arch: [A-Za-z0-9]+\/[A-Za-z0-9]+ GitCommit: %s