changeset 3511:d9ce7a3e1672

unignore test case in UsesTest.java
author jjg
date Tue, 22 Dec 2015 12:54:49 -0800
parents 37fefa14f3a7
children 8a2b2c2caa15
files test/tools/javac/modules/UsesTest.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/tools/javac/modules/UsesTest.java	Mon Dec 21 19:03:15 2015 -0800
+++ b/test/tools/javac/modules/UsesTest.java	Tue Dec 22 12:54:49 2015 -0800
@@ -173,8 +173,7 @@
                 .writeAll();
     }
 
-    //@ignore JDK-8145012
-    //@Test
+    @Test
     void testDuplicateUses(Path base) throws Exception {
         Path src = base.resolve("src");
         tb.writeJavaFiles(src.resolve("m"),
@@ -189,7 +188,8 @@
                 .writeAll()
                 .getOutputLines(ToolBox.OutputKind.DIRECT);
 
-        if (!output.containsAll(Arrays.asList(""))) {
+        if (!output.containsAll(Arrays.asList(
+                "module-info.java:1:22: compiler.err.duplicate.uses: Uses[p.C]"))) {
             throw new Exception("Expected output not found");
         }
     }