Unit Tests

- Corrected use of rc.fontunderline with the new Views.
- Added new sample todo.sh import data, thanks to Daniel Wilcox.
- Added rc.defaultwidth to various tests.
- Modified tests to accomodate new next report.
- Corrected regex in rc.override.t.
This commit is contained in:
Paul Beckingham 2011-05-13 23:55:01 -04:00
parent 73f72c54c1
commit bb04a58bdc
6 changed files with 51 additions and 19 deletions

View file

@ -158,7 +158,8 @@ void Column::renderHeader (
Color c = color;
// Now underline the header, or add a dashed line.
if (context.config.getBoolean ("fontunderline"))
if (context.color () &&
context.config.getBoolean ("fontunderline"))
{
c.blend (Color (Color::nocolor, Color::nocolor, true, false, false));
lines.push_back (c.colorize (leftJustify (header, width)));