src/cmd/go/testdata/mod/example.com_fuzzfail_v0.1.0.txt
raw| 1 | -- .mod -- |
| 2 | module example.com/fuzzfail |
| 3 | |
| 4 | go 1.18 |
| 5 | -- .info -- |
| 6 | {"Version":"v0.1.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 | } |