Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIntOrStringRoundtripCBOR (0.3 sec)

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

    			}
    			if diff := cmp.Diff(got, tc.want); diff != "" {
    				t.Errorf("unexpected difference between expected and actual output:\n%s", diff)
    			}
    		})
    	}
    }
    
    func TestIntOrStringRoundtripCBOR(t *testing.T) {
    	fuzzer := fuzz.New()
    	for i := 0; i < 500; i++ {
    		var initial, final IntOrString
    		fuzzer.Fuzz(&initial)
    		b, err := cbor.Marshal(initial)
    		if err != nil {
    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