mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Fixed bug in single digit day highliting unit test
This commit is contained in:
parent
543fc1727d
commit
03c9cc6005
1 changed files with 5 additions and 0 deletions
|
@ -50,6 +50,11 @@ my $prevmonth = ("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","
|
|||
my $nextyear = $nyear + 1901;
|
||||
my $year = $nyear + 1900;
|
||||
|
||||
if ( $day <= 9)
|
||||
{
|
||||
$day = " ".$day;
|
||||
}
|
||||
|
||||
# task cal and task cal y
|
||||
my $output = qx{../task rc:cal.rc rc._forcecolor:on cal};
|
||||
like ($output, qr/\[36m$day/, 'Current day is highlighted');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue