From dcd536348e52686758ec76f68dc0157804f763f9 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 20 Oct 2024 20:30:37 -0300 Subject: Revert c3a3cf9d7aed9b3c48acbe31fd48f2c27549a570 --- tests/fuzz/api/acudego.go | 34 ---------------------------------- tests/fuzz/api/golite.go | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 34 deletions(-) delete mode 100644 tests/fuzz/api/acudego.go create mode 100644 tests/fuzz/api/golite.go (limited to 'tests/fuzz/api') diff --git a/tests/fuzz/api/acudego.go b/tests/fuzz/api/acudego.go deleted file mode 100644 index 7f8e3a0..0000000 --- a/tests/fuzz/api/acudego.go +++ /dev/null @@ -1,34 +0,0 @@ -package acudego - -import ( - "os" - "testing" - "testing/internal/testdeps" -) - - - -func FuzzAPI(f *testing.F) { - f.Add(123) - f.Fuzz(func(t *testing.T, n int) { - // FIXME - if n == 1234 { - t.Errorf("Failed n: %q\n", n) - } - }) -} - - - -func MainTest() { - fuzzTargets := []testing.InternalFuzzTarget{ - { "FuzzAPI", FuzzAPI }, - } - - deps := testdeps.TestDeps{} - tests := []testing.InternalTest {} - benchmarks := []testing.InternalBenchmark{} - examples := []testing.InternalExample {} - m := testing.MainStart(deps, tests, benchmarks, fuzzTargets, examples) - os.Exit(m.Run()) -} diff --git a/tests/fuzz/api/golite.go b/tests/fuzz/api/golite.go new file mode 100644 index 0000000..1c86d04 --- /dev/null +++ b/tests/fuzz/api/golite.go @@ -0,0 +1,34 @@ +package golite + +import ( + "os" + "testing" + "testing/internal/testdeps" +) + + + +func FuzzAPI(f *testing.F) { + f.Add(123) + f.Fuzz(func(t *testing.T, n int) { + // FIXME + if n == 1234 { + t.Errorf("Failed n: %q\n", n) + } + }) +} + + + +func MainTest() { + fuzzTargets := []testing.InternalFuzzTarget{ + { "FuzzAPI", FuzzAPI }, + } + + 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