mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Command tests
This commit is contained in:
parent
8792163676
commit
3c11895c1e
2 changed files with 58 additions and 1 deletions
|
@ -28,7 +28,7 @@ class UpdateCommandTest extends TestCase
|
|||
$appTester = $this->getApplicationTester();
|
||||
$appTester->run(array_merge(['command' => 'update', '--dry-run' => true], $command));
|
||||
|
||||
$this->assertSame(strtr(trim($expected), "\r", ''), strtr(trim($appTester->getDisplay()), "\r", ''));
|
||||
$this->assertSame(trim($expected), trim($appTester->getDisplay(true)));
|
||||
}
|
||||
|
||||
public function provideUpdates(): \Generator
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue