Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestLexer (0.07 sec)

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

    func TestSetIsEmpty(t *testing.T) {
    	if !(Set{}).AsSelector().Empty() {
    		t.Errorf("Empty set should be empty")
    	}
    	if !(NewSelector()).Empty() {
    		t.Errorf("Nil Selector should be empty")
    	}
    }
    
    func TestLexer(t *testing.T) {
    	testcases := []struct {
    		s string
    		t Token
    	}{
    		{"", EndOfStringToken},
    		{",", CommaToken},
    		{"notin", NotInToken},
    		{"in", InToken},
    		{"=", EqualsToken},
    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