diff options
author | acolyer <acolyer> | 2005-09-08 20:24:10 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-09-08 20:24:10 +0000 |
commit | d2447a0cc3201a1792ffe19579e92e0e609de7e8 (patch) | |
tree | 87b2406f67829a21244d9d88c33f315465fc9fb2 /bcel-builder | |
parent | 51874377b6350b80287730e6b8e0cc8a76c284c4 (diff) | |
download | aspectj-d2447a0cc3201a1792ffe19579e92e0e609de7e8.tar.gz aspectj-d2447a0cc3201a1792ffe19579e92e0e609de7e8.zip |
fixed an unneccessary 1.5 dependency that had crept into the test code.
Diffstat (limited to 'bcel-builder')
-rw-r--r-- | bcel-builder/testsrc/org/aspectj/apache/bcel/classfile/tests/GenericSignatureParserTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bcel-builder/testsrc/org/aspectj/apache/bcel/classfile/tests/GenericSignatureParserTest.java b/bcel-builder/testsrc/org/aspectj/apache/bcel/classfile/tests/GenericSignatureParserTest.java index bac45e316..3c1a8cf02 100644 --- a/bcel-builder/testsrc/org/aspectj/apache/bcel/classfile/tests/GenericSignatureParserTest.java +++ b/bcel-builder/testsrc/org/aspectj/apache/bcel/classfile/tests/GenericSignatureParserTest.java @@ -230,7 +230,7 @@ public class GenericSignatureParserTest extends TestCase { Signature.FieldTypeSignature cSig = parser.parseAsFieldSignature("Ljava/util/List</;"); fail("Expected IllegalStateException"); } catch (IllegalStateException ex) { - assertTrue(ex.getMessage().contains("Ljava/util/List</;")); + assertTrue(ex.getMessage().indexOf("Ljava/util/List</;") != -1); } } |