From 9f1cc9ee4163942088687a8c4b7303771f617f9c Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 30 Oct 2024 06:14:06 -0300 Subject: Rename "gkv" -> "dedo" --- tests/fuzz/api/dedo.go | 34 ++++++++++++++++++++++++++++++++++ tests/fuzz/api/gkv.go | 34 ---------------------------------- 2 files changed, 34 insertions(+), 34 deletions(-) create mode 100644 tests/fuzz/api/dedo.go delete mode 100644 tests/fuzz/api/gkv.go (limited to 'tests/fuzz/api') diff --git a/tests/fuzz/api/dedo.go b/tests/fuzz/api/dedo.go new file mode 100644 index 0000000..552cd96 --- /dev/null +++ b/tests/fuzz/api/dedo.go @@ -0,0 +1,34 @@ +package dedo + +import ( + "os" + "testing" + "testing/internal/testdeps" +) + + + +func api(f *testing.F) { + f.Fuzz(func(t *testing.T, n int) { + if n > 1 { + if n < 2 { + t.Errorf("Failed n: %v\n", n) + } + } + }) +} + + + +func MainTest() { + fuzzTargets := []testing.InternalFuzzTarget{ + { "api", api }, + } + + 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/gkv.go b/tests/fuzz/api/gkv.go deleted file mode 100644 index f7f0309..0000000 --- a/tests/fuzz/api/gkv.go +++ /dev/null @@ -1,34 +0,0 @@ -package gkv - -import ( - "os" - "testing" - "testing/internal/testdeps" -) - - - -func api(f *testing.F) { - f.Fuzz(func(t *testing.T, n int) { - if n > 1 { - if n < 2 { - t.Errorf("Failed n: %v\n", n) - } - } - }) -} - - - -func MainTest() { - fuzzTargets := []testing.InternalFuzzTarget{ - { "api", api }, - } - - 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