mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unit Tests
- Added null values for color.tagged and color.alternate, for the tests it affects.
This commit is contained in:
parent
67fd7e2faa
commit
bc46888bcd
4 changed files with 5 additions and 0 deletions
|
@ -155,6 +155,7 @@ if (open my $fh, '>', 'details.rc')
|
|||
"calendar.details.report=list\n",
|
||||
"calendar.holidays=full\n",
|
||||
"color=on\n",
|
||||
"color.alternate=\n",
|
||||
"confirmation=no\n",
|
||||
"holiday.AAAA.name=AAAA\n",
|
||||
"holiday.AAAA.date=20150101\n",
|
||||
|
|
|
@ -38,6 +38,7 @@ if (open my $fh, '>', 'color.rc')
|
|||
"color.pri.M=green\n",
|
||||
"color.pri.L=blue\n",
|
||||
"color.pri.none=yellow\n",
|
||||
"color.alternate=\n",
|
||||
"_forcecolor=1\n";
|
||||
close $fh;
|
||||
ok (-r 'color.rc', 'Created color.rc');
|
||||
|
|
|
@ -34,6 +34,8 @@ use Test::More tests => 7;
|
|||
if (open my $fh, '>', 'color.rc')
|
||||
{
|
||||
print $fh "data.location=.\n",
|
||||
"color.tagged=\n",
|
||||
"color.alternate=\n",
|
||||
"color.tag.red=red\n",
|
||||
"color.tag.green=green\n",
|
||||
"_forcecolor=1\n";
|
||||
|
|
|
@ -37,6 +37,7 @@ if (open my $fh, '>', 'due.rc')
|
|||
"due=4\n",
|
||||
"color=on\n",
|
||||
"color.due=red\n",
|
||||
"color.alternate=\n",
|
||||
"_forcecolor=on\n",
|
||||
"dateformat=m/d/Y\n";
|
||||
close $fh;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue