From 15c10cfc9c5a07535e6e3d445c660c0fbb5ce145 Mon Sep 17 00:00:00 2001 From: wisberg Date: Wed, 30 Apr 2003 02:07:21 +0000 Subject: [PATCH] test case can't expect usage message any more --- .../testsrc/org/aspectj/ajdt/ajc/AjdtCommandTestCase.java | 4 ++-- 1 file 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); } -- 2.39.5