Unit Tests

- Added null values for color.tagged and color.alternate, for the
  tests it affects.
This commit is contained in:
Paul Beckingham 2010-07-08 22:26:41 -04:00
parent 67fd7e2faa
commit bc46888bcd
4 changed files with 5 additions and 0 deletions

View file

@ -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",

View file

@ -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');

View file

@ -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";

View file

@ -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;