]> source.dussan.org Git - aspectj.git/commitdiff
1.5 -> 1.3
authoracolyer <acolyer>
Tue, 13 Dec 2005 16:52:03 +0000 (16:52 +0000)
committeracolyer <acolyer>
Tue, 13 Dec 2005 16:52:03 +0000 (16:52 +0000)
weaver/testsrc/org/aspectj/weaver/tools/PointcutDesignatorHandlerTests.java

index e26fe73d346c36b388111c8d51d1159603fc7516..e98af2e87590f052dfd7cdd981df2d0f1fd82102 100644 (file)
@@ -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);
                }
        }