You are here

public function InputOptionTest::testSingleDashOptionIsInvalid in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/console/Tests/Input/InputOptionTest.php \Symfony\Component\Console\Tests\Input\InputOptionTest::testSingleDashOptionIsInvalid()

@expectedException \InvalidArgumentException

File

vendor/symfony/console/Tests/Input/InputOptionTest.php, line 112

Class

InputOptionTest

Namespace

Symfony\Component\Console\Tests\Input

Code

public function testSingleDashOptionIsInvalid() {
  new InputOption('foo', '-');
}