Skip to content

Commit 0c85083

Browse files
sostockKristofferC
authored andcommitted
Fix depwarn grammar (#42069)
(cherry picked from commit bc4d49a)
1 parent 1a8387f commit 0c85083

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
@@ -706,7 +706,7 @@ function do_test_throws(result::ExecutionResult, orig_expr, extype)
706706
if isa(extype, Type)
707707
success =
708708
if from_macroexpand && extype == LoadError && exc isa Exception
709-
Base.depwarn("macroexpand no longer throw a LoadError so `@test_throws LoadError ...` is deprecated and passed without checking the error type!", :do_test_throws)
709+
Base.depwarn("macroexpand no longer throws a LoadError so `@test_throws LoadError ...` is deprecated and passed without checking the error type!", :do_test_throws)
710710
true
711711
else
712712
isa(exc, extype)

0 commit comments

Comments
 (0)