Skip to content

Commit

Permalink
fix fuzz tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jmank88 committed Oct 1, 2023
1 parent db22828 commit 73bffff
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions fuzz_1.18_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ func FuzzBinary(f *testing.F) {
for _, c := range cases {
f.Add(c.binary)
}
f.Add([]byte("[$C#U\x010"))
f.Add([]byte("[$d#U\x190000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"))
const corpus = "testdata/bin/corpus"
if dir, err := testdata.ReadDir(corpus); err != nil {
f.Fatal("failed to read corpus dir:", err)
Expand Down Expand Up @@ -54,6 +56,7 @@ func FuzzBlock(f *testing.F) {
for _, c := range cases {
f.Add(c.block)
}
f.Add("[[][$][C][#][U][1][0]")
const corpus = "testdata/block/corpus"
if dir, err := testdata.ReadDir(corpus); err != nil {
f.Fatal("failed to read corpus dir:", err)
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 73bffff

Please sign in to comment.