test/langtools/tools/javac/api/TestGetScopeResult.java
changeset 52697 605878cd4009
parent 51103 cecc2e10edf4
child 58906 d58a21542c04
--- a/test/langtools/tools/javac/api/TestGetScopeResult.java	Mon Nov 26 14:04:23 2018 +0100
+++ b/test/langtools/tools/javac/api/TestGetScopeResult.java	Tue Nov 27 11:07:44 2018 -0500
@@ -134,7 +134,7 @@
                implicitExplicitConflict1);
 
         String[] implicitExplicitConflict2 = {
-            "s:<any>",
+            "s:none",
             ":t",
             "super:java.lang.Object",
             "this:Test"
@@ -179,7 +179,8 @@
             List<String> expectedList = List.of(expected);
 
             if (!expectedList.equals(actual)) {
-                throw new IllegalStateException("Unexpected scope content: " + actual);
+                throw new IllegalStateException("Unexpected scope content: " + actual + "\n" +
+                                                 "expected: " + expectedList);
             }
         }
     }