Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Feb 22, 2025
1 parent 7736e2e commit 020594a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ end
for _ in 1:10
@profile mapslices(sum, A; dims=2)
g = flamegraph()
FlameGraphs.depth(g) > 10 && break
(isnothing(g) || FlameGraphs.depth(g) > 10) && break
end
@test FlameGraphs.depth(g) > 10
img = flamepixels(StackFrameCategory(), flamegraph(C=true))
Expand Down

0 comments on commit 020594a

Please sign in to comment.