Skip to content

Commit f2c8d49

Browse files
KristofferCKristofferC
andauthored
tighten up the type of an array in Test (#59718)
Co-authored-by: KristofferC <[email protected]>
1 parent 65ef689 commit f2c8d49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/Test/src/Test.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1451,7 +1451,7 @@ end
14511451
# Recursive function that fetches backtraces for any and all errors
14521452
# or failures the testset and its children encountered
14531453
function filter_errors(ts::DefaultTestSet)
1454-
efs = Any[]
1454+
efs = Union{Fail, Error}[]
14551455
for t in ts.results
14561456
if isa(t, DefaultTestSet)
14571457
append!(efs, filter_errors(t))

0 commit comments

Comments
 (0)