Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. operator/pkg/util/path_test.go

    		t.Run(tt.desc, func(t *testing.T) {
    			if got := ToYAMLPath(tt.in); !got.Equals(tt.expect) {
    				t.Errorf("%s: expect %v got %v", tt.desc, tt.expect, got)
    			}
    		})
    	}
    }
    
    func TestIsKVPathElement(t *testing.T) {
    	tests := []struct {
    		desc   string
    		in     string
    		expect bool
    	}{
    		{
    			desc:   "valid",
    			in:     "[1:2]",
    			expect: true,
    		},
    		{
    			desc:   "invalid",
    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