Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestSetMatches (0.18 sec)

  1. staging/src/k8s.io/apimachinery/pkg/labels/selector_test.go

    	}
    }
    
    //nolint:staticcheck,unused //iccheck // U1000 currently commented out in TODO of TestSetMatches
    func expectNoMatchDirect(t *testing.T, selector, ls Set) {
    	if SelectorFromSet(selector).Matches(ls) {
    		t.Errorf("Wanted '%s' to not match '%s', but it did.", selector, ls)
    	}
    }
    
    func TestSetMatches(t *testing.T) {
    	labelset := Set{
    		"foo": "bar",
    		"baz": "blah",
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 14 16:39:04 UTC 2022
    - 29.9K bytes
    - Viewed (0)
Back to top