Skip to content

Commit 53c027f

Browse files
committed
more interesting fuzz target
1 parent 410bb6c commit 53c027f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

foo.rb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
def run(num)
2-
if num == 45
3-
p :ok
2+
if num == '0'
3+
a = 0
4+
elsif num == '1'
5+
a = 1
46
else
5-
p :ng
7+
a = nil
68
end
79
end
810

0 commit comments

Comments
 (0)