Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1-rc-2
-
None
-
None
Description
If I use the method shouldFail of the GroovyTestCase class I run into the following problem.
shouldFail(MyException) {...} only works if MyException contains no nested exceptions. If an exception new MyException(new NullpointerException) is thrown, shouldFail makes the test fail, saying that it expects a NullPointerException.