Text file src/cmd/go/testdata/mod/example.com_fuzzfail_v0.2.0.txt

     1  -- .mod --
     2  module example.com/fuzzfail
     3  
     4  go 1.18
     5  -- .info --
     6  {"Version":"v0.2.0"}
     7  -- go.mod --
     8  module example.com/fuzzfail
     9  
    10  go 1.18
    11  -- fuzzfail_test.go --
    12  package fuzzfail
    13  
    14  import "testing"
    15  
    16  func FuzzFail(f *testing.F) {
    17  	f.Fuzz(func(t *testing.T, b []byte) {
    18  		t.Fatalf("oops: %q", b)
    19  	})
    20  }
    21  -- testdata/fuzz/FuzzFail/bbb0c2d22aa1a24617301566dc7486f8b625d38024603ba62757c1124013b49a --
    22  go test fuzz v1
    23  []byte("\x05")
    24  

View as plain text