- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestNilMapIsValid (0.17 sec)
-
staging/src/k8s.io/apimachinery/pkg/fields/selector_test.go
expectNoMatchDirect(t, Set{"foo": "=blah"}, labelset) expectNoMatchDirect(t, Set{"baz": "=bar"}, labelset) expectNoMatchDirect(t, Set{"foo": "=bar", "foobar": "bar", "baz": "blah"}, labelset) } func TestNilMapIsValid(t *testing.T) { selector := Set(nil).AsSelector() if selector == nil { t.Errorf("Selector for nil set should be Everything") } if !selector.Empty() { t.Errorf("Selector for nil set should be Empty")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 27 08:00:38 UTC 2017 - 11.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/labels/selector_test.go
//expectNoMatchDirect(t, Set{"foo": "=blah"}, labelset) //expectNoMatchDirect(t, Set{"baz": "=bar"}, labelset) //expectNoMatchDirect(t, Set{"foo": "=bar", "foobar": "bar", "baz": "blah"}, labelset) } func TestNilMapIsValid(t *testing.T) { selector := Set(nil).AsSelector() if selector == nil { t.Errorf("Selector for nil set should be Everything") } if !selector.Empty() { t.Errorf("Selector for nil set should be Empty")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 14 16:39:04 UTC 2022 - 29.9K bytes - Viewed (0)