summaryrefslogtreecommitdiff
path: root/tests/fuzz/from-string/guuid.go
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-05-03 19:41:19 -0300
committerEuAndreh <eu@euandre.org>2025-05-03 19:41:19 -0300
commita6e6896309007fa1013bd51cee125ab8a75f282d (patch)
treef6839c339e9d282138a793488cd8ac23ca356ac6 /tests/fuzz/from-string/guuid.go
parenttests/guuid.go: Use os.Exit over assert when testing panic (diff)
downloaduuid-a6e6896309007fa1013bd51cee125ab8a75f282d.tar.gz
uuid-a6e6896309007fa1013bd51cee125ab8a75f282d.tar.xz
re s/guuid/uuid/g
Diffstat (limited to 'tests/fuzz/from-string/guuid.go')
-rw-r--r--tests/fuzz/from-string/guuid.go30
1 files changed, 0 insertions, 30 deletions
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())
-}