Closed GoogleCodeExporter closed 8 years ago
This is very old, but isExceptionExpected is specifically for assertions you
expect to fail in *tests*. Hence, the JsUnitException. AssertionError is just
the exception type goog.asserts in your business logic. If you want to verify
a method throws in a test, just use assertThrows
https://github.com/google/closure-library/blob/master/closure/goog/testing/asser
ts.js#L252
Original comment by joelt...@google.com
on 5 Aug 2015 at 9:24
Original issue reported on code.google.com by
atng...@gmail.com
on 24 Jul 2013 at 9:14