harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r437202 - /incubator/harmony/enhanced/classlib/trunk/modules/regex/src/test/java/org/apache/harmony/tests/java/util/regex/Matcher2Test.java
Date Sat, 26 Aug 2006 18:23:02 GMT
Author: ndbeyer
Date: Sat Aug 26 11:23:01 2006
New Revision: 437202

URL: http://svn.apache.org/viewvc?rev=437202&view=rev
Log:
adjust test to pass on RI

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/regex/src/test/java/org/apache/harmony/tests/java/util/regex/Matcher2Test.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/regex/src/test/java/org/apache/harmony/tests/java/util/regex/Matcher2Test.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/regex/src/test/java/org/apache/harmony/tests/java/util/regex/Matcher2Test.java?rev=437202&r1=437201&r2=437202&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/regex/src/test/java/org/apache/harmony/tests/java/util/regex/Matcher2Test.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/regex/src/test/java/org/apache/harmony/tests/java/util/regex/Matcher2Test.java
Sat Aug 26 11:23:01 2006
@@ -26,8 +26,7 @@
 	public void test_toString() {
 		Pattern p = Pattern.compile("foo");
 		Matcher m = p.matcher("bar");
-		assertTrue(Pattern.matches("java.util.regex.Matcher@[0-9a-fA-F]*", m
-				.toString()));
+		assertNotNull(m.toString());
 	}
 
 	public void testErrorConditions() throws PatternSyntaxException {



Mime
View raw message