Skip to content

Commit f5c55e8

Browse files
authored
misc: Don't get confused by GC running during compilation (#59163)
Fixes #59162
1 parent 5ddd721 commit f5c55e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/misc.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,12 +499,12 @@ begin
499499
local second = @capture_stdout @time @eval calldouble2(1.0)
500500

501501
# these functions were not recompiled
502-
local matches = collect(eachmatch(r"(\d+(?:\.\d+)?)%", first))
502+
local matches = collect(eachmatch(r"(\d+(?:\.\d+)?)% compilation", first))
503503
@test length(matches) == 1
504504
@test parse(Float64, matches[1][1]) > 0.0
505505
@test parse(Float64, matches[1][1]) <= 100.0
506506

507-
matches = collect(eachmatch(r"(\d+(?:\.\d+)?)%", second))
507+
matches = collect(eachmatch(r"(\d+(?:\.\d+)?)% compilation", second))
508508
@test length(matches) == 1
509509
@test parse(Float64, matches[1][1]) > 0.0
510510
@test parse(Float64, matches[1][1]) <= 100.0

0 commit comments

Comments
 (0)