Skip to content

Commit

Permalink
make "Add information to passing tests" a bit more backwards compatib…
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC authored Jul 1, 2021
1 parent c312422 commit 5c0d2b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ struct Pass <: Result
data
value
source::Union{Nothing,LineNumberNode}
function Pass(test_type::Symbol, orig_expr, data, thrown, source)
function Pass(test_type::Symbol, orig_expr, data, thrown, source=nothing)
return new(test_type, orig_expr, data, thrown isa String ? "String" : thrown, source)
end
end
Expand Down

0 comments on commit 5c0d2b1

Please sign in to comment.