JuliaLang/julia — Issue #499: assert that an expression throws error
Author: HarlanH
Created: 2012-03-01 22:31:57+00:00
State: open

The current test suite does not (easily) allow testing of failures that throw errors. There should be a macro along the lines of @assert_throws_error that catches the error and succeeds (or doesn't catch an error and fails). (See also #8.)