mrz1988 / lilies

A cross-platform colored text formatting tool for the command line
MIT License
0 stars 0 forks source link

Thoroughly unittest for ANSI sequences #30

Closed mrz1988 closed 4 years ago

mrz1988 commented 5 years ago

Currently, lilies has very poor coverage of ANSI sequence injection, as well as string casting without wilt(). This could easily take a few days, since just about every unit test should include some basic ANSI character sequence tests, but I think it would be apt to put them in new test files. The current test files are starting to get fairly large.

mrz1988 commented 4 years ago

This has been somewhat remedied by the new terminal tests, which test raw output of the terminals. This is more predictable than trying to guess ansi sequences for everything.