Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIsVPathElement (0.17 sec)

  1. operator/pkg/util/path_test.go

    		t.Run(tt.desc, func(t *testing.T) {
    			if got := IsKVPathElement(tt.in); got != tt.expect {
    				t.Errorf("%s: expect %v got %v", tt.desc, tt.expect, got)
    			}
    		})
    	}
    }
    
    func TestIsVPathElement(t *testing.T) {
    	tests := []struct {
    		desc   string
    		in     string
    		expect bool
    	}{
    		{
    			desc:   "valid",
    			in:     "[:1]",
    			expect: true,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Aug 29 00:15:38 UTC 2020
    - 6.7K bytes
    - Viewed (0)
Back to top