Skip to content

Commit 3e46893

Browse files
committed
Add another type of known exception to fuzzer
1 parent bf498b9 commit 3e46893

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/fuzzlib.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ function gen_rand_expr(inputs;
9292
try
9393
return f(args...)
9494
catch err
95-
if err isa DomainError || err isa DivideError || err isa MethodError
95+
if err isa DomainError || err isa DivideError || err isa MethodError ||
96+
err isa SymbolicUtils.SpecialFunctions.AmosException
9697
return gen_rand_expr(inputs,
9798
spec=spec,
9899
leaf_prob=leaf_prob,

0 commit comments

Comments
 (0)