We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a108445 commit 11b2a9bCopy full SHA for 11b2a9b
src/Symfony/Component/Console/Tests/Input/ArgvInputTest.php
@@ -257,7 +257,7 @@ public function testParseEmptyStringArgument()
257
public function testGetFirstArgument()
258
{
259
$input = new ArgvInput(array('cli.php', '-fbbar'));
260
- $this->assertEquals('', $input->getFirstArgument(), '->getFirstArgument() returns the first argument from the raw input');
+ $this->assertNull($input->getFirstArgument(), '->getFirstArgument() returns null when there is no arguments');
261
262
$input = new ArgvInput(array('cli.php', '-fbbar', 'foo'));
263
$this->assertEquals('foo', $input->getFirstArgument(), '->getFirstArgument() returns the first argument from the raw input');
0 commit comments