diff options
author | Andy Clement <aclement@pivotal.io> | 2017-09-27 13:59:24 -0700 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2017-09-27 13:59:24 -0700 |
commit | e756597a317915e01a3123deacc93abbc1092be1 (patch) | |
tree | 2c525825a708387f5fb9fce39c0ef6ab2e818b63 /loadtime | |
parent | 6aa57fe2eb264274cd1fa255df5de9e97e181635 (diff) | |
download | aspectj-e756597a317915e01a3123deacc93abbc1092be1.tar.gz aspectj-e756597a317915e01a3123deacc93abbc1092be1.zip |
Clarified expected message
Diffstat (limited to 'loadtime')
-rw-r--r-- | loadtime/testsrc/org/aspectj/weaver/loadtime/WeavingURLClassLoaderTest.java | 1 |
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); |