From a6e6896309007fa1013bd51cee125ab8a75f282d Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 3 May 2025 19:41:19 -0300 Subject: re s/guuid/uuid/g --- tests/fuzz/from-string/guuid.go | 30 ------------------------------ tests/fuzz/from-string/uuid.go | 30 ++++++++++++++++++++++++++++++ tests/fuzz/new-from/guuid.go | 31 ------------------------------- tests/fuzz/new-from/uuid.go | 31 +++++++++++++++++++++++++++++++ 4 files changed, 61 insertions(+), 61 deletions(-) delete mode 100644 tests/fuzz/from-string/guuid.go create mode 100644 tests/fuzz/from-string/uuid.go delete mode 100644 tests/fuzz/new-from/guuid.go create mode 100644 tests/fuzz/new-from/uuid.go (limited to 'tests/fuzz') diff --git a/tests/fuzz/from-string/guuid.go b/tests/fuzz/from-string/guuid.go deleted file mode 100644 index 8971cbb..0000000 --- a/tests/fuzz/from-string/guuid.go +++ /dev/null @@ -1,30 +0,0 @@ -package guuid - -import ( - "os" - "testing" - "testing/internal/testdeps" -) - - - -func fn(f *testing.F) { - f.Fuzz(func(t *testing.T, str string) { - FromString(str) - }) -} - - - -func MainTest() { - fuzzTargets := []testing.InternalFuzzTarget{ - { "fn", 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()) -} diff --git a/tests/fuzz/from-string/uuid.go b/tests/fuzz/from-string/uuid.go new file mode 100644 index 0000000..5c3c787 --- /dev/null +++ b/tests/fuzz/from-string/uuid.go @@ -0,0 +1,30 @@ +package uuid + +import ( + "os" + "testing" + "testing/internal/testdeps" +) + + + +func fn(f *testing.F) { + f.Fuzz(func(t *testing.T, str string) { + FromString(str) + }) +} + + + +func MainTest() { + fuzzTargets := []testing.InternalFuzzTarget{ + { "fn", 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()) +} diff --git a/tests/fuzz/new-from/guuid.go b/tests/fuzz/new-from/guuid.go deleted file mode 100644 index a786c66..0000000 --- a/tests/fuzz/new-from/guuid.go +++ /dev/null @@ -1,31 +0,0 @@ -package guuid - -import ( - "bytes" - "os" - "testing" - "testing/internal/testdeps" -) - - - -func fn(f *testing.F) { - f.Fuzz(func(t *testing.T, payload []byte) { - NewFrom(bytes.NewReader(payload)) - }) -} - - - -func MainTest() { - fuzzTargets := []testing.InternalFuzzTarget{ - { "fn", 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()) -} diff --git a/tests/fuzz/new-from/uuid.go b/tests/fuzz/new-from/uuid.go new file mode 100644 index 0000000..298687b --- /dev/null +++ b/tests/fuzz/new-from/uuid.go @@ -0,0 +1,31 @@ +package uuid + +import ( + "bytes" + "os" + "testing" + "testing/internal/testdeps" +) + + + +func fn(f *testing.F) { + f.Fuzz(func(t *testing.T, payload []byte) { + NewFrom(bytes.NewReader(payload)) + }) +} + + + +func MainTest() { + fuzzTargets := []testing.InternalFuzzTarget{ + { "fn", 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