You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Oleg Kalnichevski <ol...@apache.org> on 2010/04/21 09:51:36 UTC

Re: Test classes - use assertEquals(exp,act) instead of assertTrue(actual=expected)?

On Wed, 2010-04-21 at 00:31 +0100, sebb 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?
> 

None at all

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org