From 74d20911d4a81afe8831bc248f97d184f94ba038 Mon Sep 17 00:00:00 2001 From: Henri Yandell Date: Sun, 19 Dec 2004 03:30:38 +0000 Subject: [PATCH] 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 --- .../org/apache/commons/lang/time/DurationFormatUtilsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/org/apache/commons/lang/time/DurationFormatUtilsTest.java b/src/test/org/apache/commons/lang/time/DurationFormatUtilsTest.java index cf7becf28..b95c26e08 100644 --- a/src/test/org/apache/commons/lang/time/DurationFormatUtilsTest.java +++ b/src/test/org/apache/commons/lang/time/DurationFormatUtilsTest.java @@ -326,7 +326,7 @@ public void testLexx() { 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 ) );