File tree 1 file changed +1
-2
lines changed
src/Symfony/Component/Console/Tests/Helper
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -343,7 +343,6 @@ public function testOverwriteWithSectionOutput()
343
343
);
344
344
}
345
345
346
- // ensure that ANSI characters are excluded when calculating line length
347
346
public function testOverwriteWithAnsiSectionOutput ()
348
347
{
349
348
// output has 43 visible characters plus 2 invisible ANSI characters
@@ -360,7 +359,7 @@ public function testOverwriteWithAnsiSectionOutput()
360
359
$ bar ->advance ();
361
360
362
361
rewind ($ output ->getStream ());
363
- $ this ->assertEquals (
362
+ $ this ->assertSame (
364
363
" \033[44;37m 0/50 \033[0m [>---------------------------] 0% " .\PHP_EOL .
365
364
"\x1b[1A \x1b[0J " ." \033[44;37m 1/50 \033[0m [>---------------------------] 2% " .\PHP_EOL .
366
365
"\x1b[1A \x1b[0J " ." \033[44;37m 2/50 \033[0m [=>--------------------------] 4% " .\PHP_EOL ,
You can’t perform that action at this time.
0 commit comments