Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ValueFuzz (1.99 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/roundtrip.go

    	// the deep-copy was actually only a shallow copy. Then original and obj3 will be different after fuzzing.
    	// NOTE: we use the encoding+decoding here as an alternative, guaranteed deep-copy to compare against.
    	fuzzer.ValueFuzz(object)
    	if !apiequality.Semantic.DeepEqual(original, obj3) {
    		t.Errorf("%v: fuzzing a copy altered the original, diff: %v", name, cmp.Diff(original, obj3))
    		return
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 16.8K bytes
    - Viewed (0)
Back to top