@@ -337,8 +337,8 @@ public function testOverwriteWithSectionOutput()
337337rewind ($ output ->getStream ());
338338$ this ->assertEquals (
339339' 0/50 [>---------------------------] 0% ' .\PHP_EOL .
340- "\x1b[1A \x1b[0J " .' 1/50 [>---------------------------] 2% ' .\PHP_EOL .
341- "\x1b[1A \x1b[0J " .' 2/50 [=>--------------------------] 4% ' .\PHP_EOL ,
340+ "\x1b[2A \x1b[0J " .' 1/50 [>---------------------------] 2% ' .\PHP_EOL .
341+ "\x1b[2A \x1b[0J " .' 2/50 [=>--------------------------] 4% ' .\PHP_EOL ,
342342stream_get_contents ($ output ->getStream ())
343343 );
344344 }
@@ -364,9 +364,9 @@ public function testOverwriteMultipleProgressBarsWithSectionOutputs()
364364$ this ->assertEquals (
365365' 0/50 [>---------------------------] 0% ' .\PHP_EOL .
366366' 0/50 [>---------------------------] 0% ' .\PHP_EOL .
367- "\x1b[1A \x1b[0J " .' 1/50 [>---------------------------] 2% ' .\PHP_EOL .
368367"\x1b[2A \x1b[0J " .' 1/50 [>---------------------------] 2% ' .\PHP_EOL .
369- "\x1b[1A \x1b[0J " .' 1/50 [>---------------------------] 2% ' .\PHP_EOL .
368+ "\x1b[2A \x1b[0J " .' 1/50 [>---------------------------] 2% ' .\PHP_EOL .
369+ ' 1/50 [>---------------------------] 2% ' .\PHP_EOL .
370370' 1/50 [>---------------------------] 2% ' .\PHP_EOL ,
371371stream_get_contents ($ stream ->getStream ())
372372 );
@@ -395,10 +395,10 @@ public function testMultipleSectionsWithCustomFormat()
395395
396396$ this ->assertEquals (' 0/50 [>---------------------------] 0% ' .\PHP_EOL .
397397' 0/50 [>] 0% Fruitcake marzipan toffee. Cupcake gummi bears tart dessert ice cream chupa chups cupcake chocolate bar sesame snaps. Croissant halvah cookie jujubes powder macaroon. Fruitcake bear claw bonbon jelly beans oat cake pie muffin Fruitcake marzipan toffee. ' .\PHP_EOL .
398- "\x1b[4A \x1b[0J " .' 0/50 [>] 0% Fruitcake marzipan toffee. Cupcake gummi bears tart dessert ice cream chupa chups cupcake chocolate bar sesame snaps. Croissant halvah cookie jujubes powder macaroon. Fruitcake bear claw bonbon jelly beans oat cake pie muffin Fruitcake marzipan toffee. ' .\PHP_EOL .
398+ "\x1b[5A \x1b[0J " .' 0/50 [>] 0% Fruitcake marzipan toffee. Cupcake gummi bears tart dessert ice cream chupa chups cupcake chocolate bar sesame snaps. Croissant halvah cookie jujubes powder macaroon. Fruitcake bear claw bonbon jelly beans oat cake pie muffin Fruitcake marzipan toffee. ' .\PHP_EOL .
399399"\x1b[3A \x1b[0J " .' 1/50 [>---------------------------] 2% ' .\PHP_EOL .
400400' 0/50 [>] 0% Fruitcake marzipan toffee. Cupcake gummi bears tart dessert ice cream chupa chups cupcake chocolate bar sesame snaps. Croissant halvah cookie jujubes powder macaroon. Fruitcake bear claw bonbon jelly beans oat cake pie muffin Fruitcake marzipan toffee. ' .\PHP_EOL .
401- "\x1b[3A \x1b[0J " .' 1/50 [>] 2% Fruitcake marzipan toffee. Cupcake gummi bears tart dessert ice cream chupa chups cupcake chocolate bar sesame snaps. Croissant halvah cookie jujubes powder macaroon. Fruitcake bear claw bonbon jelly beans oat cake pie muffin Fruitcake marzipan toffee. ' .\PHP_EOL ,
401+ "\x1b[4A \x1b[0J " .' 1/50 [>] 2% Fruitcake marzipan toffee. Cupcake gummi bears tart dessert ice cream chupa chups cupcake chocolate bar sesame snaps. Croissant halvah cookie jujubes powder macaroon. Fruitcake bear claw bonbon jelly beans oat cake pie muffin Fruitcake marzipan toffee. ' .\PHP_EOL ,
402402stream_get_contents ($ stream ->getStream ())
403403 );
404404 }