We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 345dde6 commit 2231cdaCopy full SHA for 2231cda
test/limits.jl
@@ -98,7 +98,7 @@ module EvalLimited end
98
end
99
@test 8 < EvalLimited.s < 50 # with Compiled(), 9 statements per iteration
100
@test length(aborts) == 1
101
- @test aborts[1].at.line ∈ (2, 3, 4) # 2 corresponds to lowering of the for loop
+ @test aborts[1].at.line ∈ (2, 3, 4, 5) # 2 corresponds to lowering of the for loop
102
103
# Now try again with recursive stack
104
empty!(aborts)
@@ -117,8 +117,8 @@ module EvalLimited end
117
118
lin = aborts[1].at
119
if lin.file == Symbol("fake.jl")
120
- @test lin.line ∈ (2, 3, 4)
+ @test lin.line ∈ (2, 3, 4, 5)
121
else
122
- @test lin.file == Symbol("range.jl") # if it aborts in `iterate`
+ @test lin.method === :iterate || lin.method === :getproperty
123
124
0 commit comments