8000 Undo change. · symfony/symfony@2b1eb29 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2b1eb29

Br 8000 owse files
committed
Undo change.
1 parent f4ea0f5 commit 2b1eb29

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Component/Console/Tests/Helper/ProgressBarTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,6 @@ public function testOverwriteWithSectionOutput()
343343
);
344344
}
345345

346-
// ensure that ANSI characters are excluded when calculating line length
347346
public function testOverwriteWithAnsiSectionOutput()
348347
{
349348
// output has 43 visible characters plus 2 invisible ANSI characters
@@ -360,7 +359,7 @@ public function testOverwriteWithAnsiSectionOutput()
360359
$bar->advance();
361360

362361
rewind($output->getStream());
363-
$this->assertEquals(
362+
$this->assertSame(
364363
" \033[44;37m 0/50\033[0m [>---------------------------] 0%".\PHP_EOL.
365364
"\x1b[1A\x1b[0J"." \033[44;37m 1/50\033[0m [>---------------------------] 2%".\PHP_EOL.
366365
"\x1b[1A\x1b[0J"." \033[44;37m 2/50\033[0m [=>--------------------------] 4%".\PHP_EOL,

0 commit comments

Comments
 (0)
0