Skip to content

Commit

Permalink
Merge pull request JuliaLang/julia#41382 from JuliaLang/backports-rel…
Browse files Browse the repository at this point in the history
…ease-1.7

Backports for 1.7-beta3
  • Loading branch information
KristofferC authored Jul 6, 2021
2 parents 3b035d8 + 36dafe6 commit 211e464
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 211e464

Please sign in to comment.