- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CompareContent (0.16 sec)
-
cni/pkg/iptables/iptables_test.go
t.Helper() gotBytes := []byte(strings.Join(actual, "\n")) goldenFile := filepath.Join("testdata", name+".golden") if ipv6 { goldenFile = filepath.Join("testdata", name+"_ipv6.golden") } testutil.CompareContent(t, gotBytes, goldenFile) } func constructTestConfig() *Config { return &Config{ RestoreFormat: false, }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.7K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
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 want map[string]string }{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Mar 27 16:59:05 GMT 2024 - 14.6K bytes - Viewed (0)