Skip to content

Commit 8aded8f

Browse files
committed
actually invoke fuzz_function_exists?
1 parent 44bfb06 commit 8aded8f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

run.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ def fuzz_function_exists?(file_path)
2525
file_path = ARGV[0].freeze
2626

2727
# TODO: ensure we don't load this file
28+
if !fuzz_function_exists?(file_path)
29+
puts "ERROR: `fuzz` function doesn’t exist in #{file_path}"
30+
exit
31+
end
2832

2933
fork do
3034
Coverage.start(:all)

0 commit comments

Comments
 (0)