Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMetaFactoryInterpret (0.43 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go

    				t.Error(cmp.Diff(tc.expectedObj, actualObj))
    			}
    
    			if diff := cmp.Diff(tc.expectedGVK, actualGVK); diff != "" {
    				t.Error(diff)
    			}
    		})
    	}
    }
    
    func TestMetaFactoryInterpret(t *testing.T) {
    	mf := &defaultMetaFactory{}
    	_, err := mf.Interpret(nil)
    	if err == nil {
    		t.Error("expected non-nil error")
    	}
    	gvk, err := mf.Interpret([]byte("\xa2\x6aapiVersion\x63a/b\x64kind\x61c"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top