On 21/04/2010, Mike Dillon <[email protected]> wrote: > Shouldn't that be assertSame() to retain the meaning of "=="?
In this case, the operands were primitives (int/long) which are not supported by assertSame(). But agreed - assertSame() would be needed for object comparisons. > -md > > > "sebb" <[email protected]> wrote: > > >I just changed TestIdentityInputStream to use assertEquals(exp,actual) > >rather than assertTrue(actual==exp), as this shows the actual and > >expected values if the test fails. > > > >Any objections if I work through the other test classes doing the same? > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [email protected] > >For additional commands, e-mail: [email protected] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
