We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ee8086b + 52963fd commit 8ef80dbCopy full SHA for 8ef80db
test/distributed_exec.jl
@@ -1301,7 +1301,7 @@ let thrown = false
1301
thrown = true
1302
local b = IOBuffer()
1303
showerror(b, e)
1304
- @test contains(String(take!(b)), "sqrt will only return")
+ @test occursin("sqrt will only return", String(take!(b)))
1305
end
1306
@test thrown
1307
@@ -1375,7 +1375,7 @@ try
1375
error("unexpected")
1376
catch ex
1377
@test isa(ex.captured.ex.exceptions[1].ex, ErrorException)
1378
- @test contains(ex.captured.ex.exceptions[1].ex.msg, "BoundsError")
+ @test occursin("BoundsError", ex.captured.ex.exceptions[1].ex.msg)
1379
@test ex.captured.ex.exceptions[2].ex == UndefVarError(:DontExistOn1)
1380
1381
0 commit comments