From 833be5cdaf5b7c596d4ecff0b6e2a0ac0b135566 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 15 May 2025 15:59:45 -0300 Subject: tests/fuzz/: Add noop fuzz targets --- tests/fuzz/sortedmap-iterator/pds.go | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tests/fuzz/sortedmap-iterator/pds.go (limited to 'tests/fuzz/sortedmap-iterator/pds.go') diff --git a/tests/fuzz/sortedmap-iterator/pds.go b/tests/fuzz/sortedmap-iterator/pds.go new file mode 100644 index 0000000..501b9aa --- /dev/null +++ b/tests/fuzz/sortedmap-iterator/pds.go @@ -0,0 +1,30 @@ +package pds + +import ( + "os" + "testing" + "testing/internal/testdeps" +) + + + +func fn(f *testing.F) { + f.Fuzz(func(t *testing.T, s string) { + // Heredoc(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()) +} -- cgit v1.2.3