- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for HasName (0.18 sec)
-
staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go
t.Run(tt.name, func(t *testing.T) { hasNames, err := HasNames(tt.args) if !reflect.DeepEqual(tt.expectedError, err) { t.Errorf("expected HasName to error:\n%s\tgot:\n%s", tt.expectedError, err) } if hasNames != tt.expectedHasName { t.Errorf("expected HasName to return %v for %s", tt.expectedHasName, tt.args) } }) } } func TestUnstructured(t *testing.T) { // create test dirs
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 11:58:41 UTC 2023 - 56.1K bytes - Viewed (0) -
src/reflect/type.go
// x's type V is identical to T? if T == V { return true } // Otherwise at least one of T and V must not be defined // and they must have the same kind. if T.HasName() && V.HasName() || T.Kind() != V.Kind() { return false } if T.Kind() == abi.Chan && specialChannelAssignability(T, V) { return true } // x's type T and V must have identical underlying types.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0)