Skip to content
Permalink
Browse files

Update a test to cover more cases

  • Loading branch information...
HavokInspiration committed Jan 2, 2017
1 parent d94a39f commit bb435dfdae377be94bebd7d3a721a084e4349a2a
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/TestCase/Console/ConsoleOptionParserTest.php
@@ -282,9 +282,9 @@ public function testMultipleOptions()
public function testAddOptionWithMultiple()
{
$parser = new ConsoleOptionParser('test', false);
$parser->addOption('source', ['multiple' => true]);
$parser->addOption('source', ['short' => 's', 'multiple' => true]);
$result = $parser->parse(['--source', 'mysql', '--source', 'postgres']);
$result = $parser->parse(['--source', 'mysql', '-s', 'postgres']);
$expected = [
'source' => [
'mysql',

0 comments on commit bb435df

Please sign in to comment.
You can’t perform that action at this time.