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

Commit 9f27cb2

Browse files
sostockKristofferC
authored andcommitted
Fix depwarn grammar (JuliaLang/julia#42069)
(cherry picked from commit 6fe19c6)
1 parent 211e464 commit 9f27cb2

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
@@ -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)