< prev index next >

test/jdk/java/util/regex/RegExTest.java

Print this page

        

@@ -4681,10 +4681,13 @@
             failCount++;
         }
         if (p.test("1234")) {
             failCount++;
         }
+        if (!p.test("word1234")) {
+            failCount++;
+        }
         report("Pattern.asPredicate");
     }
 
     // This test is for 8035975
     private static void invalidFlags() throws Exception {
< prev index next >