- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RefreshGoldenFile (0.12 sec)
-
cni/pkg/plugin/plugin_dryrun_test.go
tables := slices.Sort(maps.Keys(generatedRules)) goldenFileContent := "" for _, t := range tables { goldenFileContent += generatedRules[t] + "\n" } diff.RefreshGoldenFile(t, []byte(goldenFileContent), goldenFileName) } func testdoAddRunWithIptablesIntercept(t *testing.T, stdinData, testPodName, testNSName string, objects ...runtime.Object) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Aug 27 16:44:45 UTC 2024 - 8.5K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
continue } if checkGolden { t.Run(f.Name(), func(t *testing.T) { contents := util.ReadFile(t, path.Join(testdir, f.Name())) goldenFile := path.Join(testdir, f.Name()+goldenSuffix) util.RefreshGoldenFile(t, contents, goldenFile) util.CompareContent(t, contents, goldenFile) }) } } } func TestConvertToMap(t *testing.T) { tests := []struct { name string arg []string
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 20:04:20 UTC 2024 - 14.6K bytes - Viewed (0)