Skip to content

Commit 5de78c7

Browse files
fix test/limits.jl on nightly (#650)
Co-authored-by: Tim Holy <[email protected]>
1 parent 0d2d442 commit 5de78c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/limits.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ module EvalLimited end
8585
insert!(ex.args, 1, LineNumberNode(1, Symbol("fake.jl")))
8686
end
8787
modexs = collect(ExprSplitter(EvalLimited, ex))
88-
@static if VERSION >= v"1.11-"
88+
@static if VERSION >= v"1.12-"
89+
nstmts = 10*21 + 27 # 10 * 21 statements per iteration + α
90+
elseif VERSION >= v"1.11-"
8991
nstmts = 10*17 + 20 # 10 * 17 statements per iteration + α
9092
elseif VERSION >= v"1.10-"
9193
nstmts = 10*15 + 20 # 10 * 15 statements per iteration + α

0 commit comments

Comments
 (0)