File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ julia> @test foo("f") == 20
5555Test Failed at none:1
5656 Expression: foo("f") == 20
5757 Evaluated: 1 == 20
58+
5859ERROR: There was an error during testing
5960```
6061
@@ -224,6 +225,7 @@ julia> @test 1 ≈ 0.999999
224225Test Failed at none:1
225226 Expression: 1 ≈ 0.999999
226227 Evaluated: 1 ≈ 0.999999
228+
227229ERROR: There was an error during testing
228230```
229231You can specify relative and absolute tolerances by setting the ` rtol ` and ` atol ` keyword arguments of ` isapprox ` , respectively,
Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ function Base.show(io::IO, t::Fail)
165165 print (io, " \n Context: " , t. context)
166166 end
167167 end
168+ println (io) # add some visual space to separate sequential failures
168169end
169170
170171"""
@@ -1405,6 +1406,7 @@ julia> @testset let logi = log(im)
14051406Test Failed at none:3
14061407 Expression: !(iszero(real(logi)))
14071408 Context: logi = 0.0 + 1.5707963267948966im
1409+
14081410ERROR: There was an error during testing
14091411```
14101412"""
You can’t perform that action at this time.
0 commit comments