mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-01 11:20:19 +02:00
Unit Tests
- Fixed tests that were broken when the config defaults changed.
This commit is contained in:
parent
fccd0d6c96
commit
dd5623be65
2 changed files with 4 additions and 0 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue