zoe                                      Thu, 19 Apr 2012 11:37:50 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=325335

Log:
I do not know how this ever worked, unless we planned to make keep-all have 
some options?

Changed paths:
    U   php/phpruntests/trunk/tests/configuration/rtCommandLineOptionsTest.php

Modified: php/phpruntests/trunk/tests/configuration/rtCommandLineOptionsTest.php
===================================================================
--- php/phpruntests/trunk/tests/configuration/rtCommandLineOptionsTest.php      
2012-04-19 11:30:29 UTC (rev 325334)
+++ php/phpruntests/trunk/tests/configuration/rtCommandLineOptionsTest.php      
2012-04-19 11:37:50 UTC (rev 325335)
@@ -41,11 +41,10 @@
     public function testLongOptionWithArg()
     {
         $clo = new rtCommandLineOptions();
-        $clo->parse(array('run-tests.php', '--keep-all', 'the-keepall-arg'));
+        $clo->parse(array('run-tests.php', '--mopts', 
'the-memoryoptions-arg'));

-        $this->assertTrue($clo->hasOption('keep-all'));
-        var_dump($clo->getOption('keep-all'));
-        $this->assertEquals('the-keepall-arg', $clo->getOption('keep-all'));
+        $this->assertTrue($clo->hasOption('mopts'));
+        $this->assertEquals('the-memoryoptions-arg', $clo->getOption('mopts'));
     }

     public function testNonexistingOption()

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to