From 4839c62d85ef86e71d7c81eef8ca49a3a4e4e18b 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/vm/version_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/vm/version_test.go b/e2e/vm/version_test.go index f0971dd89..fb9fc28f9 100644 --- a/e2e/vm/version_test.go +++ b/e2e/vm/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