Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FuzzEscapeUnescape (0.19 sec)

  1. src/html/fuzz_test.go

    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package html
    
    import "testing"
    
    func FuzzEscapeUnescape(f *testing.F) {
    	f.Fuzz(func(t *testing.T, v string) {
    		e := EscapeString(v)
    		u := UnescapeString(e)
    		if u != v {
    			t.Errorf("EscapeString(%q) = %q, UnescapeString(%q) = %q, want %q", v, e, e, u, v)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 20:35:20 UTC 2023
    - 636 bytes
    - Viewed (0)
Back to top