summaryrefslogtreecommitdiffstats
path: root/weaver/testsrc/org
diff options
context:
space:
mode:
Diffstat (limited to 'weaver/testsrc/org')
-rw-r--r--weaver/testsrc/org/aspectj/weaver/patterns/PointcutRewriterTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/weaver/testsrc/org/aspectj/weaver/patterns/PointcutRewriterTest.java b/weaver/testsrc/org/aspectj/weaver/patterns/PointcutRewriterTest.java
index f28a5a7ac..84a32ddb1 100644
--- a/weaver/testsrc/org/aspectj/weaver/patterns/PointcutRewriterTest.java
+++ b/weaver/testsrc/org/aspectj/weaver/patterns/PointcutRewriterTest.java
@@ -37,11 +37,11 @@ public class PointcutRewriterTest extends TestCase {
Pointcut notNotNOT = getPointcut("!!!this(Foo)");
assertEquals("!this(Foo)",prw.rewrite(notNotNOT).toString());
Pointcut and = getPointcut("!(this(Foo) && this(Goo))");
- assertEquals("(!this(Foo) || !this(Goo))",prw.rewrite(and).toString());
+ assertEquals("(!this(Foo) || !this(Goo))",prw.rewrite(and,true).toString());
Pointcut or = getPointcut("!(this(Foo) || this(Goo))");
- assertEquals("(!this(Foo) && !this(Goo))",prw.rewrite(or).toString());
+ assertEquals("(!this(Foo) && !this(Goo))",prw.rewrite(or,true).toString());
Pointcut nestedNot = getPointcut("!(this(Foo) && !this(Goo))");
- assertEquals("(!this(Foo) || this(Goo))",prw.rewrite(nestedNot).toString());
+ assertEquals("(!this(Foo) || this(Goo))",prw.rewrite(nestedNot,true).toString());
}
public void testPullUpDisjunctions() {