redding / assert

Assertion style testing framework.
https://github.com/redding/assert
MIT License
10 stars 1 forks source link

only display ANSI styled output if the view IO is a tty #173

Closed kellyredding closed 10 years ago

kellyredding commented 10 years ago

This updates the view to know whether it is a tty or not and only display ansi styled output if it is a tty - regardless of any other config settings. This is to be a good citizen and not output ANSI style coded output to IOs that don't know what to do with it.

Closes #172.

@jcredding ready for review.

jcredding commented 10 years ago

@kellyredding - Cool, nice change :boom: I like being a good citizen.