- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for expectedBuf (0.13 sec)
-
istioctl/pkg/writer/envoy/configdump/secret_test.go
} defer outFile.Close() expectedOut, err := io.ReadAll(outFile) if err != nil { t.Errorf("error reading test data output file: %v", err) } gotOut := &bytes.Buffer{} cw := &ConfigWriter{Stdout: gotOut} err = cw.Prime(configDump) assert.NoError(t, err) err = cw.PrintSecretSummary() assert.NoError(t, err) assert.Equal(t, string(expectedOut), gotOut.String()) }) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Oct 28 19:52:53 UTC 2024 - 1.7K bytes - Viewed (0)