- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for SetOut (0.16 sec)
-
istioctl/cmd/options_test.go
` func TestLogHelp(t *testing.T) { var out bytes.Buffer rootCmd := GetRootCmd([]string{"options"}) rootCmd.SetOut(&out) rootCmd.SetErr(&out) fErr := rootCmd.Execute() if fErr != nil { t.Fatalf("options failed with %v and %q\n", fErr, out.String()) } if !regexp.MustCompile(expectedOutput).Match(out.Bytes()) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Sep 14 02:38:54 GMT 2022 - 1.9K bytes - Viewed (0)