File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1351,7 +1351,7 @@ function finish(ts::DefaultTestSet; print_results::Bool=TESTSET_PRINT_ENABLE[])
1351
1351
end
1352
1352
1353
1353
# return the testset so it is returned from the @testset macro
1354
- ts
1354
+ return ts
1355
1355
end
1356
1356
1357
1357
# Recursive function that finds the column that the result counts
@@ -1375,15 +1375,15 @@ get_alignment(ts, depth::Int) = 0
1375
1375
# Recursive function that fetches backtraces for any and all errors
1376
1376
# or failures the testset and its children encountered
1377
1377
function filter_errors (ts:: DefaultTestSet )
1378
- efs = []
1378
+ efs = Any []
1379
1379
for t in ts. results
1380
1380
if isa (t, DefaultTestSet)
1381
1381
append! (efs, filter_errors (t))
1382
1382
elseif isa (t, Union{Fail, Error})
1383
- append ! (efs, [t] )
1383
+ push ! (efs, t )
1384
1384
end
1385
1385
end
1386
- efs
1386
+ return efs
1387
1387
end
1388
1388
1389
1389
"""
You can’t perform that action at this time.
0 commit comments