mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unit Tests
- hyphenate.t was maing assumptions about report output that can be reduced.
This commit is contained in:
parent
702e4e41fc
commit
4357f9c545
1 changed files with 2 additions and 1 deletions
|
@ -40,13 +40,14 @@ if (open my $fh, '>', 'bug.rc')
|
|||
print $fh "confirmation=no\n";
|
||||
print $fh "defaultwidth=50\n";
|
||||
print $fh "detection=off\n";
|
||||
print $fh "verbose=nothing\n";
|
||||
close $fh;
|
||||
ok (-r 'bug.rc', 'Created bug.rc');
|
||||
}
|
||||
|
||||
# Split on comma instead of hyphenating
|
||||
|
||||
my $output = qx{../src/task rc:bug.rc show report.next.columns | tail -n +4 2>&1};
|
||||
my $output = qx{../src/task rc:bug.rc show report.next.columns 2>&1};
|
||||
unlike ($output, qr/-/, 'split on comma for comma-separated lists');
|
||||
|
||||
# Cleanup.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue