Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMarshalCBOR (0.13 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go

    		}
    		if value.Type == String && test.output.StrVal != value.StrVal {
    			t.Errorf("expected string value %q (%v), but got %q (%v)", test.output.StrVal, test.output, value.StrVal, value)
    		}
    	}
    }
    
    func TestMarshalCBOR(t *testing.T) {
    	for _, tc := range []struct {
    		in            IntOrString
    		want          []byte
    		assertOnError func(*testing.T, error)
    	}{
    		{
    			in: IntOrString{Type: 42},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top