Skip to content

Commit

Permalink
Update stdlib/Test/src/Test.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy authored Aug 14, 2021
1 parent 3ba290d commit 6a67fa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/Test/src/Test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ Test Passed
julia> @test_throws "Try sqrt(Complex" sqrt(-1)
Test Passed
Expression: sqrt(-1)
Message: "DomainError with -1.0:\nsqrt will only return a complex result if called with a complex argument. Try sqrt(Complex(x))."
Message: "DomainError with -1.0:\\nsqrt will only return a complex result if called with a complex argument. Try sqrt(Complex(x))."
```
"""
macro test_throws(extype, ex)
Expand Down

0 comments on commit 6a67fa4

Please sign in to comment.