Skip to content

Commit

Permalink
fix test/limits.jl on nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
simeonschaub committed Sep 29, 2024
1 parent ea16ee6 commit 0e96779
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 * 17 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 0e96779

Please sign in to comment.