@@ -373,6 +373,7 @@ public function testFormatAndWrap()
373373 $ this ->assertSame ("foobar \e[37;41mbaz \e[39;49m \n\e[37;41mnewline \e[39;49m " , $ formatter ->formatAndWrap ("foobar<error>baz \nnewline</error> " , 11 ));
374374 $ this ->assertSame ("foobar \e[37;41mbazne \e[39;49m \n\e[37;41mwline \e[39;49m " , $ formatter ->formatAndWrap ("foobar<error>bazne \nwline</error> " , 11 ));
375375 $ this ->assertSame ("foobar \e[37;41mbazne \e[39;49m \n\e[37;41mw \e[39;49m \n\e[37;41mline \e[39;49m " , $ formatter ->formatAndWrap ("foobar<error>baznew \nline</error> " , 11 ));
376+ $ this ->assertSame ("\e[37;41m👩🌾 \e[39;49m " , $ formatter ->formatAndWrap ('<error>👩🌾</error> ' , 1 ));
376377
377378 $ formatter = new OutputFormatter ();
378379
@@ -392,6 +393,7 @@ public function testFormatAndWrap()
392393 $ this ->assertSame ("foobarbaz \nnewline " , $ formatter ->formatAndWrap ("foobar<error>baz \nnewline</error> " , 11 ));
393394 $ this ->assertSame ("foobarbazne \nwline " , $ formatter ->formatAndWrap ("foobar<error>bazne \nwline</error> " , 11 ));
394395 $ this ->assertSame ("foobarbazne \nw \nline " , $ formatter ->formatAndWrap ("foobar<error>baznew \nline</error> " , 11 ));
396+ $ this ->assertSame ('👩🌾 ' , $ formatter ->formatAndWrap ('👩🌾 ' , 1 ));
395397 }
396398}
397399
0 commit comments