Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FuzzEncodeWTF16 (0.09 sec)

  1. src/syscall/wtf8_windows_test.go

    			got := syscall.EncodeWTF16(tt.str, nil)
    			if !slices.Equal(got, tt.wstr) {
    				t.Errorf("got:\n%v\nwant:\n%v", got, tt.wstr)
    			}
    		})
    	}
    }
    
    func FuzzEncodeWTF16(f *testing.F) {
    	for _, tt := range wtf8tests {
    		f.Add(tt.str)
    	}
    	f.Fuzz(func(t *testing.T, b string) {
    		// test that there are no panics
    		got := syscall.EncodeWTF16(b, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 09:26:16 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top