Skip to content

Commit b9f4c5e

Browse files
committed
Fix-up Profile regex (changed on nightly)
1 parent cb09e40 commit b9f4c5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ExecutionTests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,8 @@ b = @bprofile likegcd(x, y) setup = (x = rand(2:200); y = rand(2:200))
308308
io = IOBuffer()
309309
Profile.print(IOContext(io, :displaysize => (24, 200)))
310310
str = String(take!(io))
311-
@test occursin(r"BenchmarkTools(\.jl)?(/|\\)src(/|\\)execution\.jl:\d+; #?_run", str)
312-
@test !occursin(r"BenchmarkTools(\.jl)?(/|\\)src(/|\\)execution\.jl:\d+; #?tune!", str)
311+
@test occursin(r"BenchmarkTools(\.jl)?(/|\\)src(/|\\)execution\.jl:\d+( |;) #?_run", str)
312+
@test !occursin(r"BenchmarkTools(\.jl)?(/|\\)src(/|\\)execution\.jl:\d+( |;) #?tune!", str)
313313
b = @bprofile 1 + 1
314314
Profile.print(IOContext(io, :displaysize => (24, 200)))
315315
str = String(take!(io))

0 commit comments

Comments
 (0)