You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
subject.assertThrows(AssertionError.class, new Runnable() {
public void run() {
// don't throw
}
});
What is the expected output? What do you see instead?
Expect an AssertionError, but nothing is thrown.
In fact, the assertThrows method detects nothing is thrown, but then throws
an AssertionError, which then renders the assert successful.
Original issue reported on code.google.com by jem.maw...@gmail.com on 8 Mar 2010 at 3:04
Activity