aboutsummaryrefslogtreecommitdiff
path: root/tests/fuzz
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-10-18 17:54:26 -0300
committerEuAndreh <eu@euandre.org>2024-10-20 03:36:18 -0300
commitf00c41fd4e6af8cd0db80c118a3bb4abef09604e (patch)
tree46ad14d55cfe591691cf214076e8aea81edbfe18 /tests/fuzz
parent.gitignore: Remove .so (diff)
downloadgolite-f00c41fd4e6af8cd0db80c118a3bb4abef09604e.tar.gz
golite-f00c41fd4e6af8cd0db80c118a3bb4abef09604e.tar.xz
Shoehorn project into default golang skeleton structure
Diffstat (limited to 'tests/fuzz')
-rw-r--r--tests/fuzz/api/acudego.go (renamed from tests/fuzz/api.go)4
l---------tests/fuzz/api/main.go1
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/fuzz/api.go b/tests/fuzz/api/acudego.go
index 0d6db03..7f8e3a0 100644
--- a/tests/fuzz/api.go
+++ b/tests/fuzz/api/acudego.go
@@ -1,4 +1,4 @@
-package main
+package acudego
import (
"os"
@@ -20,7 +20,7 @@ func FuzzAPI(f *testing.F) {
-func main() {
+func MainTest() {
fuzzTargets := []testing.InternalFuzzTarget{
{ "FuzzAPI", FuzzAPI },
}
diff --git a/tests/fuzz/api/main.go b/tests/fuzz/api/main.go
new file mode 120000
index 0000000..f67563d
--- /dev/null
+++ b/tests/fuzz/api/main.go
@@ -0,0 +1 @@
+../../main.go \ No newline at end of file