@@ -958,7 +958,7 @@ public function testAnsiColorsAndEmojis()
958
958
$ this ->assertEquals (
959
959
" \033[44;37m Starting the demo... fingers crossed \033[0m \n" .
960
960
' 0/15 ' .$ progress .str_repeat ($ empty , 26 )." 0% \n" .
961
- " \xf0\x9f\x8f\x81 < 1 sec \033[44;37m 0 B \033[0m " ,
961
+ " \xf0\x9f\x8f\x81 < 1 ms \033[44;37m 0 B \033[0m " ,
962
962
stream_get_contents ($ output ->getStream ())
963
963
);
964
964
ftruncate ($ output ->getStream (), 0 );
@@ -972,7 +972,7 @@ public function testAnsiColorsAndEmojis()
972
972
$ this ->generateOutput (
973
973
" \033[44;37m Looks good to me... \033[0m \n" .
974
974
' 4/15 ' .str_repeat ($ done , 7 ).$ progress .str_repeat ($ empty , 19 )." 26% \n" .
975
- " \xf0\x9f\x8f\x81 < 1 sec \033[41;37m 97 KiB \033[0m "
975
+ " \xf0\x9f\x8f\x81 < 1 ms \033[41;37m 97 KiB \033[0m "
976
976
),
977
977
stream_get_contents ($ output ->getStream ())
978
978
);
@@ -987,7 +987,7 @@ public function testAnsiColorsAndEmojis()
987
987
$ this ->generateOutput (
988
988
" \033[44;37m Thanks, bye \033[0m \n" .
989
989
' 15/15 ' .str_repeat ($ done , 28 )." 100% \n" .
990
- " \xf0\x9f\x8f\x81 < 1 sec \033[41;37m 195 KiB \033[0m "
990
+ " \xf0\x9f\x8f\x81 < 1 ms \033[41;37m 195 KiB \033[0m "
991
991
),
992
992
stream_get_contents ($ output ->getStream ())
993
993
);
@@ -1022,7 +1022,7 @@ public function testSetFormatWithTimes()
1022
1022
$ bar ->start ();
1023
1023
rewind ($ output ->getStream ());
1024
1024
$ this ->assertEquals (
1025
- ' 0/15 [>---------------------------] 0% < 1 sec /< 1 sec /< 1 sec ' ,
1025
+ ' 0/15 [>---------------------------] 0% < 1 ms /< 1 ms /< 1 ms ' ,
1026
1026
stream_get_contents ($ output ->getStream ())
1027
1027
);
1028
1028
}
@@ -1111,7 +1111,7 @@ public function testEmptyInputWithDebugFormat()
1111
1111
1112
1112
rewind ($ output ->getStream ());
1113
1113
$ this ->assertEquals (
1114
- ' 0/0 [============================] 100% < 1 sec /< 1 sec ' ,
1114
+ ' 0/0 [============================] 100% < 1 ms /< 1 ms ' ,
1115
1115
stream_get_contents ($ output ->getStream ())
1116
1116
);
1117
1117
}
0 commit comments