Skip to content

Commit

Permalink
Remove unused local variables in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyweb committed Oct 24, 2019
1 parent 4727d7f commit c7edffb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/ApplicationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ public function testFindAlternativeExceptionMessageMultiple()

// Subnamespace + plural
try {
$a = $application->find('foo3:');
$application->find('foo3:');
$this->fail('->find() should throw an Symfony\Component\Console\Exception\CommandNotFoundException if a command is ambiguous because of a subnamespace, with alternatives');
} catch (\Exception $e) {
$this->assertInstanceOf('Symfony\Component\Console\Exception\CommandNotFoundException', $e);
Expand Down
2 changes: 1 addition & 1 deletion Tests/Helper/ProgressIndicatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function testCannotSetInvalidIndicatorCharacters()
{
$this->expectException('InvalidArgumentException');
$this->expectExceptionMessage('Must have at least 2 indicator value characters.');
$bar = new ProgressIndicator($this->getOutputStream(), null, 100, ['1']);
new ProgressIndicator($this->getOutputStream(), null, 100, ['1']);
}

public function testCannotStartAlreadyStartedIndicator()
Expand Down

0 comments on commit c7edffb

Please sign in to comment.