Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jw3126 committed Oct 26, 2017
1 parent bea36b8 commit 3740f21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ op() = (x,y) -> x < y
x = 1; y = 2
@argcheck op()(x,y)
@test_throws ArgumentError @argcheck op()(y,x)

@test_throws ArgumentError @argcheck begin false end
@test_throws DivideError @argcheck f() DivideError()

struct MyExoticError <: Exception
a::Int
Expand Down

0 comments on commit 3740f21

Please sign in to comment.