]> source.dussan.org Git - aspectj.git/commitdiff
test case can't expect usage message any more
authorwisberg <wisberg>
Wed, 30 Apr 2003 02:07:21 +0000 (02:07 +0000)
committerwisberg <wisberg>
Wed, 30 Apr 2003 02:07:21 +0000 (02:07 +0000)
org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/ajc/AjdtCommandTestCase.java

index 05fa965e878362d67d234a0f2add7ab97f3852dd..f8e4b61a42faeaa12e6da5beb42ab5aad48ed07c 100644 (file)
@@ -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);           
                
        }