From: wisberg Date: Wed, 30 Apr 2003 02:07:21 +0000 (+0000) Subject: test case can't expect usage message any more X-Git-Tag: V1_1_0_RC2~130 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=15c10cfc9c5a07535e6e3d445c660c0fbb5ce145;p=aspectj.git test case can't expect usage message any more --- 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); }