aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/ajc/AjdtCommandTestCase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/ajc/AjdtCommandTestCase.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/ajc/AjdtCommandTestCase.java
index 05fa965e8..f8e4b61a4 100644
--- a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/ajc/AjdtCommandTestCase.java
+++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/ajc/AjdtCommandTestCase.java
@@ -73,10 +73,10 @@ public class AjdtCommandTestCase extends TestCase {
new String[] { "-mubleBadOption" },
counter);
} catch (AbortException ae) { }
-
+ // usage printed by caller to genBuildConfig now...
assertTrue(
outputWriter.getContents() + " contains? " + "Usage",
- outputWriter.getContents().indexOf("Usage") != -1);
+ outputWriter.getContents().indexOf("-mubleBadOption") != -1);
}