*What is the correct way for testing* throw(message) *?* *I'm getting this errors using test_throws. ¿What am I doing wrong? The deprecation message is confusing.*
julia> using Base.Test julia> IndexedVector([1,2,3,3]) ERROR: "3 is more than one time in the vector." in call at /home/dzea/.julia/v0.4/MIToS/src/MSA/IndexedVectors.jl:39 julia> @test_throws IndexedVector([1,2,3,3]) WARNING: @test_throws without an exception type is deprecated; Use `@test_throws ASCIIString IndexedVector([1,2,3,3])` instead. in backtrace at error.jl:26 "3 is more than one time in the vector." julia> @test_throws "3 is more than one time in the vector." IndexedVector([ 1,2,3,3]) ERROR: TypeError: isa: expected Type{T}, got ASCIIString in do_test_throws at test.jl:69 *Thanks!*