Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestEscapingFuzz (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/escaping_test.go

    		t.Run(s, func(t *testing.T) {
    			e, ok := Unescape(s)
    			if ok {
    				t.Fatalf("Expected %s to be unescapable, but it escaped to: %s", s, e)
    			}
    		})
    	}
    }
    
    func TestEscapingFuzz(t *testing.T) {
    	fuzzer := fuzz.New()
    	for i := 0; i < 1000; i++ {
    		var unescaped string
    		fuzzer.Fuzz(&unescaped)
    		t.Run(fmt.Sprintf("%d - '%s'", i, unescaped), func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 6.9K bytes
    - Viewed (0)
Back to top