aboutsummaryrefslogtreecommitdiffstats
path: root/loadtime
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2017-09-27 13:59:24 -0700
committerAndy Clement <aclement@pivotal.io>2017-09-27 13:59:24 -0700
commite756597a317915e01a3123deacc93abbc1092be1 (patch)
tree2c525825a708387f5fb9fce39c0ef6ab2e818b63 /loadtime
parent6aa57fe2eb264274cd1fa255df5de9e97e181635 (diff)
downloadaspectj-e756597a317915e01a3123deacc93abbc1092be1.tar.gz
aspectj-e756597a317915e01a3123deacc93abbc1092be1.zip
Clarified expected message
Diffstat (limited to 'loadtime')
-rw-r--r--loadtime/testsrc/org/aspectj/weaver/loadtime/WeavingURLClassLoaderTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/loadtime/testsrc/org/aspectj/weaver/loadtime/WeavingURLClassLoaderTest.java b/loadtime/testsrc/org/aspectj/weaver/loadtime/WeavingURLClassLoaderTest.java
index aa161cdc5..187de37ba 100644
--- a/loadtime/testsrc/org/aspectj/weaver/loadtime/WeavingURLClassLoaderTest.java
+++ b/loadtime/testsrc/org/aspectj/weaver/loadtime/WeavingURLClassLoaderTest.java
@@ -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);