Unit Tests
- Fixed tests that were broken when the config defaults changed.
This commit is contained in:
@@ -35,6 +35,9 @@ int main (int argc, char** argv)
|
||||
{
|
||||
UnitTest t (78);
|
||||
|
||||
// Without Context::initialize, there is no set of defaults loaded into
|
||||
// Context::Config.
|
||||
context.initialize ();
|
||||
context.config.set ("report.foo.columns", "id");
|
||||
|
||||
Cmd cmd;
|
||||
|
||||
@@ -35,6 +35,7 @@ if (open my $fh, '>', 'color.rc')
|
||||
{
|
||||
print $fh "data.location=.\n",
|
||||
"color.recurring=red\n",
|
||||
"color.due=\n",
|
||||
"_forcecolor=1\n";
|
||||
close $fh;
|
||||
ok (-r 'color.rc', 'Created color.rc');
|
||||
|
||||
Reference in New Issue
Block a user