Author: bayard
Date: Fri Feb 6 06:11:37 2009
New Revision: 741427
URL: http://svn.apache.org/viewvc?rev=741427&view=rev
Log:
Fixing test message
Modified:
commons/proper/cli/branches/cli-1.x/src/test/org/apache/commons/cli/PatternOptionBuilderTest.java
Modified:
commons/proper/cli/branches/cli-1.x/src/test/org/apache/commons/cli/PatternOptionBuilderTest.java
URL:
http://svn.apache.org/viewvc/commons/proper/cli/branches/cli-1.x/src/test/org/apache/commons/cli/PatternOptionBuilderTest.java?rev=741427&r1=741426&r2=741427&view=diff
==============================================================================
---
commons/proper/cli/branches/cli-1.x/src/test/org/apache/commons/cli/PatternOptionBuilderTest.java
(original)
+++
commons/proper/cli/branches/cli-1.x/src/test/org/apache/commons/cli/PatternOptionBuilderTest.java
Fri Feb 6 06:11:37 2009
@@ -20,8 +20,8 @@
import java.io.File;
import java.net.URL;
import java.util.Calendar;
-import java.util.Vector;
import java.util.Date;
+import java.util.Vector;
import junit.framework.TestCase;
@@ -71,7 +71,7 @@
// DATES NOT SUPPORTED YET
try {
- assertEquals("number flag z", new Date(1023400137276L),
line.getOptionObject('z'));
+ assertEquals("date flag z", new Date(1023400137276L),
line.getOptionObject('z'));
fail("Date is not supported yet, should have failed");
} catch(UnsupportedOperationException uoe) {
// expected