...

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

Documentation: cmd/go/testdata/mod

     1-- .mod --
     2module example.com/fuzzfail
     3
     4go 1.18
     5-- .info --
     6{"Version":"v0.2.0"}
     7-- go.mod --
     8module example.com/fuzzfail
     9
    10go 1.18
    11-- fuzzfail_test.go --
    12package fuzzfail
    13
    14import "testing"
    15
    16func 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 --
    22go test fuzz v1
    23[]byte("\x05")

View as plain text