fixed previous merge
This commit is contained in:
parent
1b2619078d
commit
6a2c71bad5
@ -227,8 +227,6 @@ class ArgvInputTest extends \PHPUnit_Framework_TestCase
|
|||||||
new InputOption('anotherOption', null, InputOption::VALUE_NONE),
|
new InputOption('anotherOption', null, InputOption::VALUE_NONE),
|
||||||
)));
|
)));
|
||||||
$this->assertSame(array('name' => array('foo', 'bar', null), 'anotherOption' => true), $input->getOptions(), '->parse() parses empty array options as null ("--option value" syntax)');
|
$this->assertSame(array('name' => array('foo', 'bar', null), 'anotherOption' => true), $input->getOptions(), '->parse() parses empty array options as null ("--option value" syntax)');
|
||||||
|
|
||||||
$this->assertEquals(array('name' => array('foo', 'bar', 'baz')), $input->getOptions());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testParseNegativeNumberAfterDoubleDash()
|
public function testParseNegativeNumberAfterDoubleDash()
|
||||||
|
Reference in New Issue
Block a user