#10 Assert.assertNotEquals doesn't show 'actual' vs 'expected'

closed
nobody
None
5
2004-07-06
2004-06-25
David Plass
No

Assert.assertNotEquals(String, int, int), for example,
only says that the "expected" value was not expected,
but doesn't show the actual value. This is traced back
to Assert.java, failNotEquals method, which only takes
message, and the expected value. It should be
enhanced to take message, actual and expected.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    if assertNotEquals() fails, then "expected" is equivalent
    to "actual"...hence, the current behavior of
    showing "expected" should suffice.

     
  • David Plass

    David Plass - 2004-07-06
    • status: open --> closed
     

Log in to post a comment.