summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-12-13 16:52:03 +0000
committeracolyer <acolyer>2005-12-13 16:52:03 +0000
commit514aaeaf764c99a54df01e46355d8c64b1696de5 (patch)
tree99b05db5400e1ba2e34911d5f0d0a05ebe9c99a8
parent59aa053c0478ac23fc9eff5139c8649164e41aca (diff)
downloadaspectj-514aaeaf764c99a54df01e46355d8c64b1696de5.tar.gz
aspectj-514aaeaf764c99a54df01e46355d8c64b1696de5.zip
1.5 -> 1.3
-rw-r--r--weaver/testsrc/org/aspectj/weaver/tools/PointcutDesignatorHandlerTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/weaver/testsrc/org/aspectj/weaver/tools/PointcutDesignatorHandlerTests.java b/weaver/testsrc/org/aspectj/weaver/tools/PointcutDesignatorHandlerTests.java
index e26fe73d3..e98af2e87 100644
--- a/weaver/testsrc/org/aspectj/weaver/tools/PointcutDesignatorHandlerTests.java
+++ b/weaver/testsrc/org/aspectj/weaver/tools/PointcutDesignatorHandlerTests.java
@@ -26,7 +26,7 @@ public class PointcutDesignatorHandlerTests extends TestCase {
.parsePointcutExpression("bean(service.*");
fail("should not be able to parse bean(service.*)");
} catch(IllegalArgumentException ex) {
- assertTrue("contains bean",ex.getMessage().contains("bean"));
+ assertTrue("contains bean",ex.getMessage().indexOf("bean") != -1);
}
}