package gobang import ( "os" "testing" "testing/internal/testdeps" ) func fn(f *testing.F) { f.Fuzz(func(t *testing.T, s string) { out := Heredoc(s) trimmedOut := out[:len(out) - 1] if len(trimmedOut) > len(s) { t.Errorf("bad length: %v, %v", len(trimmedOut), len(s)) } }) } func MainTest() { fuzzTargets := []testing.InternalFuzzTarget{ { "heredoc", fn }, } deps := testdeps.TestDeps{} tests := []testing.InternalTest {} benchmarks := []testing.InternalBenchmark{} examples := []testing.InternalExample {} m := testing.MainStart(deps, tests, benchmarks, fuzzTargets, examples) os.Exit(m.Run()) }