From b7a66fde71b01d5547837e6012b993b04365a1d3 Mon Sep 17 00:00:00 2001 From: Richard Quadling Date: Tue, 21 Jun 2016 17:53:38 +0100 Subject: [PATCH] Fix failing test for https://github.com/symfony/symfony/pull/19134 With the changes made by https://github.com/symfony/symfony/pull/19134, the `\Symfony\Component\Console\Tests\Helper\ProgressBarTest::testMultipleStart()` test fails. This patch fixes the test for #19134. --- src/Symfony/Component/Console/Tests/Helper/ProgressBarTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Console/Tests/Helper/ProgressBarTest.php b/src/Symfony/Component/Console/Tests/Helper/ProgressBarTest.php index 96bfc6e4b4ccd..d20418dccd098 100644 --- a/src/Symfony/Component/Console/Tests/Helper/ProgressBarTest.php +++ b/src/Symfony/Component/Console/Tests/Helper/ProgressBarTest.php @@ -29,7 +29,7 @@ public function testMultipleStart() rewind($output->getStream()); $this->assertEquals( - $this->generateOutput(' 0 [>---------------------------]'). + ' 0 [>---------------------------]'. $this->generateOutput(' 1 [->--------------------------]'). $this->generateOutput(' 0 [>---------------------------]'), stream_get_contents($output->getStream())