]> source.dussan.org Git - aspectj.git/commitdiff
Clarified expected message
authorAndy Clement <aclement@pivotal.io>
Wed, 27 Sep 2017 20:59:24 +0000 (13:59 -0700)
committerAndy Clement <aclement@pivotal.io>
Wed, 27 Sep 2017 20:59:24 +0000 (13:59 -0700)
loadtime/testsrc/org/aspectj/weaver/loadtime/WeavingURLClassLoaderTest.java

index aa161cdc5c26eb7f22953e4c9510793bf9010b28..187de37ba1e491ccd54210f629855fddc9d7f8ea 100644 (file)
@@ -356,6 +356,7 @@ public class WeavingURLClassLoaderTest extends TestCase {
                        invokeMain(clazz, new String[] { "LTWAspect" });
                        fail("Expecting java.lang.NoClassDefFoundError");
                } catch (Exception ex) {
+                       // Expecting: java.lang.NoClassDefFoundError: LTWAspect
                        String m = ex.getMessage();
                        if (-1 == m.indexOf("java.lang.NoClassDefFoundError")) {
                                fail("Expecting java.lang.NoClassDefFoundError but caught " + ex);