From 514aaeaf764c99a54df01e46355d8c64b1696de5 Mon Sep 17 00:00:00 2001 From: acolyer Date: Tue, 13 Dec 2005 16:52:03 +0000 Subject: [PATCH] 1.5 -> 1.3 --- .../aspectj/weaver/tools/PointcutDesignatorHandlerTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.39.5