File tree 1 file changed +10
-7
lines changed
1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -967,17 +967,19 @@ end
967
967
# issue #16091
968
968
mutable struct T16091 end
969
969
wid = workers ()[1 ]
970
- @test try
970
+ try
971
971
remotecall_fetch (()-> T16091, wid)
972
- false
972
+ @test " unreachable " === true
973
973
catch ex
974
- ((ex:: RemoteException ). captured:: CapturedException ). ex === UndefVarError (:T16091 )
974
+ ex = ((ex:: RemoteException ). captured:: CapturedException ). ex
975
+ @test (ex:: UndefVarError ). var === :T16091
975
976
end
976
- @test try
977
+ try
977
978
remotecall_fetch (identity, wid, T16091)
978
- false
979
+ @test " unreachable " === true
979
980
catch ex
980
- ((ex:: RemoteException ). captured:: CapturedException ). ex === UndefVarError (:T16091 )
981
+ ex = ((ex:: RemoteException ). captured:: CapturedException ). ex
982
+ @test (ex:: UndefVarError ). var === :T16091
981
983
end
982
984
983
985
f16091a () = 1
@@ -1555,7 +1557,8 @@ try
1555
1557
catch ex
1556
1558
@test isa (ex. captured. ex. exceptions[1 ]. ex, ErrorException)
1557
1559
@test occursin (" BoundsError" , ex. captured. ex. exceptions[1 ]. ex. msg)
1558
- @test ex. captured. ex. exceptions[2 ]. ex == UndefVarError (:DontExistOn1 )
1560
+ ex = ex. captured. ex. exceptions[2 ]. ex
1561
+ @test (ex:: UndefVarError ). var === :DontExistOn1
1559
1562
end
1560
1563
1561
1564
let
You can’t perform that action at this time.
0 commit comments