Skip to content
This repository was archived by the owner on Jan 18, 2025. It is now read-only.

Commit 36dafe6

Browse files
committed
make "Add information to passing tests" a bit more backwards compatible (JuliaLang/julia#41424)
(cherry picked from commit 5c0d2b1)
1 parent 3b035d8 commit 36dafe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Test.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ struct Pass <: Result
8686
data
8787
value
8888
source::Union{Nothing,LineNumberNode}
89-
function Pass(test_type::Symbol, orig_expr, data, thrown, source)
89+
function Pass(test_type::Symbol, orig_expr, data, thrown, source=nothing)
9090
return new(test_type, orig_expr, data, thrown isa String ? "String" : thrown, source)
9191
end
9292
end

0 commit comments

Comments
 (0)