...

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

Documentation: cmd/go/testdata/mod

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

View as plain text