should now run the last bit of code

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138000 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2004-12-19 03:30:38 +00:00
parent a33961018a
commit 74d20911d4
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ public class DurationFormatUtilsTest extends TestCase {
new DurationFormatUtils.Token( new Object() )
) );
assertFalse( "Token equal to Token with different count. ", token.equals(
new DurationFormatUtils.Token( new Object(), 1 )
new DurationFormatUtils.Token( DurationFormatUtils.y, 1 )
) );
DurationFormatUtils.Token numToken = new DurationFormatUtils.Token( new Integer(1), 4 );
assertTrue( "Token with Number value not equal to itself. ", numToken.equals( numToken ) );