diff --git a/test/ExecutionTests.jl b/test/ExecutionTests.jl index 57666815..d04f6c05 100644 --- a/test/ExecutionTests.jl +++ b/test/ExecutionTests.jl @@ -308,8 +308,8 @@ b = @bprofile likegcd(x, y) setup = (x = rand(2:200); y = rand(2:200)) io = IOBuffer() Profile.print(IOContext(io, :displaysize => (24, 200))) str = String(take!(io)) -@test occursin(r"BenchmarkTools(\.jl)?(/|\\)src(/|\\)execution\.jl:\d+; #?_run", str) -@test !occursin(r"BenchmarkTools(\.jl)?(/|\\)src(/|\\)execution\.jl:\d+; #?tune!", str) +@test occursin(r"BenchmarkTools(\.jl)?(/|\\)src(/|\\)execution\.jl:\d+[; ] #?_run", str) +@test !occursin(r"BenchmarkTools(\.jl)?(/|\\)src(/|\\)execution\.jl:\d+[; ] #?tune!", str) b = @bprofile 1 + 1 Profile.print(IOContext(io, :displaysize => (24, 200))) str = String(take!(io))