Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
svilupp committed Dec 4, 2023
1 parent 65b8476 commit 7b7307f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/code_generation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ end
eval!(cb)
@test cb.success == false
@test !isvalid(cb)
@test cb.error isa Base.Meta.ParseError
@test cb.error isa Exception # can be Base.Meta.ParseError or ErrorException depending on Julia version
end
# Test that it captures execution errors
let cb = AICode(; code = """
Expand Down

0 comments on commit 7b7307f

Please sign in to comment.