Skip to content

Commit

Permalink
fix test/limits.jl on nightly (#650)
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Holy <[email protected]>
  • Loading branch information
simeonschaub and timholy authored Nov 13, 2024
1 parent 0d2d442 commit 5de78c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/limits.jl
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ module EvalLimited end
insert!(ex.args, 1, LineNumberNode(1, Symbol("fake.jl")))
end
modexs = collect(ExprSplitter(EvalLimited, ex))
@static if VERSION >= v"1.11-"
@static if VERSION >= v"1.12-"
nstmts = 10*21 + 27 # 10 * 21 statements per iteration + α
elseif VERSION >= v"1.11-"
nstmts = 10*17 + 20 # 10 * 17 statements per iteration + α
elseif VERSION >= v"1.10-"
nstmts = 10*15 + 20 # 10 * 15 statements per iteration + α
Expand Down

0 comments on commit 5de78c7

Please sign in to comment.