Skip to content

Commit f704993

Browse files
committed
Fix-up Profile regex (changed on nightly)
1 parent 0b21870 commit f704993

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
@@ -316,8 +316,8 @@ b = @bprofile likegcd(x, y) setup = (x = rand(2:200); y = rand(2:200))
316316
io = IOBuffer()
317317
Profile.print(IOContext(io, :displaysize => (24, 200)))
318318
str = String(take!(io))
319-
@test occursin(r"BenchmarkTools(\.jl)?(/|\\)src(/|\\)execution\.jl:\d+; #?_run", str)
320-
@test !occursin(r"BenchmarkTools(\.jl)?(/|\\)src(/|\\)execution\.jl:\d+; #?tune!", str)
319+
@test occursin(r"BenchmarkTools(\.jl)?(/|\\)src(/|\\)execution\.jl:\d+( |;) #?_run", str)
320+
@test !occursin(r"BenchmarkTools(\.jl)?(/|\\)src(/|\\)execution\.jl:\d+( |;) #?tune!", str)
321321
b = @bprofile 1 + 1
322322
Profile.print(IOContext(io, :displaysize => (24, 200)))
323323
str = String(take!(io))

0 commit comments

Comments
 (0)