Hello guys!

I just had someone ask me this question and I didn't know what to answer 
him, example:

julia> using Base.Test

julia> @test 1 == 1

julia> @test 1 == 3
ERROR: test failed: 1 == 3
 in error at error.jl:21 (repeats 2 times)

julia> @assert 1 == 1

julia> @assert 1 == 3
ERROR: assertion failed: 1 == 3
 in error at error.jl:21 (repeats 2 times)

I fail to see the difference, besides that `@test` conveys the idea of 
"testing". 

Even the error message is even the same:  `in error at error.jl:21 (repeats 
2 times)`

Thanks!

Reply via email to