test(decode): seed the targeted fuzz with regression documents
Test / test (push) Successful in 1m39s
Test / test (push) Successful in 1m39s
Assisted-by: GLM 5.3 Flash
This commit is contained in:
@@ -100,6 +100,8 @@ func FuzzTargetedDecode(f *testing.F) {
|
|||||||
"[tab]\ntab.x = 1\n",
|
"[tab]\ntab.x = 1\n",
|
||||||
"lims = { k = 1 }\ntags = [\"a\"]\n",
|
"lims = { k = 1 }\ntags = [\"a\"]\n",
|
||||||
"[[arr]]\ny = \"u\"\n[zz]\nk = 1\n",
|
"[[arr]]\ny = \"u\"\n[zz]\nk = 1\n",
|
||||||
|
"when = 07:32:00\n[tab.nested]\n",
|
||||||
|
"small = 300\n[[arr]]\nflt = 2.5\n",
|
||||||
}
|
}
|
||||||
for _, s := range seeds {
|
for _, s := range seeds {
|
||||||
f.Add([]byte(s))
|
f.Add([]byte(s))
|
||||||
|
|||||||
Reference in New Issue
Block a user