简体   繁体   中英

PHPUnit output text is messed up

I don't know if I should be asking this here since this is not entirely programming-related but please pardon me in advance.

How do I correct the highlighted text in the screenshot below?

The "<-[" texts.

Also, how do I run PHPUnit in Windows that will show show the usual green/red bar when passing/failing tests? I tried Git Bash console but it also displays messed up output and no bar.

弄乱显示文字

You're looking at ANSI colour codes, which don't work in cmd.exe .

The configuration file can be used to set the colors directive to false . Alternatively, you should be able to use the --colors command line option .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM