Commit 0d10b60b19a34f914c603a750eeb1ed8bdf9ef1e

Martin Mitas 2024-01-12T22:44:31

Move test/fuzz-input/ to test/fuzzers/seed-corpus/.

diff --git a/test/fuzz-input/commonmark.md b/test/fuzz-input/commonmark.md
deleted file mode 100644
index 974d817..0000000
--- a/test/fuzz-input/commonmark.md
+++ /dev/null
@@ -1,40 +0,0 @@
-
-# h1
-## h2
-### h3
-#### h4
-##### h5
-###### h6
-
-h1
-==
-
-h2
---
-
---------------------
-
-    indented code
-
-```
-fenced code
-```
-
-<tag attr='val' attr2="val2">
-
-> quote
-
-* list item
-1. list item
-
-[ref]: /url
-
-paragraph
-&copy; &#1234; &#xabcd;
-`code`
-*emph* **strong** ***strong emph***
-_emph_ __strong__ ___strong emph___
-[ref] [ref][] [link](/url)
-![ref] ![ref][] ![img](/url)
-<http://example.com> <doe@example.com>
-\\ \* \. \` \
diff --git a/test/fuzz-input/gfm.md b/test/fuzz-input/gfm.md
deleted file mode 100644
index dfdbc72..0000000
--- a/test/fuzz-input/gfm.md
+++ /dev/null
@@ -1,10 +0,0 @@
-* [ ] unchecked
-* [x] checked
-
- A | B | C
----|--:|:-:
-aaa|bbb|ccc
-
-~del~ ~~del~~
-
-http://example.com www.example.com doe@example.com
diff --git a/test/fuzz-input/latex-math.md b/test/fuzz-input/latex-math.md
deleted file mode 100644
index d17af34..0000000
--- a/test/fuzz-input/latex-math.md
+++ /dev/null
@@ -1 +0,0 @@
-$a^2+b^2=c^2$ $$a^2+b^2=c^2$$
diff --git a/test/fuzz-input/wiki.md b/test/fuzz-input/wiki.md
deleted file mode 100644
index a423974..0000000
--- a/test/fuzz-input/wiki.md
+++ /dev/null
@@ -1 +0,0 @@
-[[wiki]] [[wiki|label]]
diff --git a/test/fuzzers/seed-corpus/commonmark.md b/test/fuzzers/seed-corpus/commonmark.md
new file mode 100644
index 0000000..974d817
--- /dev/null
+++ b/test/fuzzers/seed-corpus/commonmark.md
@@ -0,0 +1,40 @@
+
+# h1
+## h2
+### h3
+#### h4
+##### h5
+###### h6
+
+h1
+==
+
+h2
+--
+
+--------------------
+
+    indented code
+
+```
+fenced code
+```
+
+<tag attr='val' attr2="val2">
+
+> quote
+
+* list item
+1. list item
+
+[ref]: /url
+
+paragraph
+&copy; &#1234; &#xabcd;
+`code`
+*emph* **strong** ***strong emph***
+_emph_ __strong__ ___strong emph___
+[ref] [ref][] [link](/url)
+![ref] ![ref][] ![img](/url)
+<http://example.com> <doe@example.com>
+\\ \* \. \` \
diff --git a/test/fuzzers/seed-corpus/gfm.md b/test/fuzzers/seed-corpus/gfm.md
new file mode 100644
index 0000000..dfdbc72
--- /dev/null
+++ b/test/fuzzers/seed-corpus/gfm.md
@@ -0,0 +1,10 @@
+* [ ] unchecked
+* [x] checked
+
+ A | B | C
+---|--:|:-:
+aaa|bbb|ccc
+
+~del~ ~~del~~
+
+http://example.com www.example.com doe@example.com
diff --git a/test/fuzzers/seed-corpus/latex-math.md b/test/fuzzers/seed-corpus/latex-math.md
new file mode 100644
index 0000000..d17af34
--- /dev/null
+++ b/test/fuzzers/seed-corpus/latex-math.md
@@ -0,0 +1 @@
+$a^2+b^2=c^2$ $$a^2+b^2=c^2$$
diff --git a/test/fuzzers/seed-corpus/wiki.md b/test/fuzzers/seed-corpus/wiki.md
new file mode 100644
index 0000000..a423974
--- /dev/null
+++ b/test/fuzzers/seed-corpus/wiki.md
@@ -0,0 +1 @@
+[[wiki]] [[wiki|label]]