- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for assertEqualTypes (0.33 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/conversion_test.go
} for _, tc := range testcases { aType := reflect.TypeOf(tc.a) bType := reflect.TypeOf(tc.b) t.Run(aType.String(), func(t *testing.T) { assertEqualTypes(t, nil, aType, bType) }) } } func assertEqualTypes(t *testing.T, path []string, a, b reflect.Type) { if a == b { return } if a.Kind() != b.Kind() { fatalTypeError(t, path, a, b, "mismatched Kind") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 29.2K bytes - Viewed (0)