Horizontal Space
- Modified default report definitions to use shorter column labels, namely 'Proj' and 'Urg'. This results in less horizontal space use. - Adjusted unit tests accordingly.
This commit is contained in:
@@ -33,10 +33,11 @@ use Test::More tests => 6;
|
||||
# Create the rc file.
|
||||
if (open my $fh, '>', 'bug.rc')
|
||||
{
|
||||
print $fh "data.location=.\n";
|
||||
print $fh "bulk=100\n";
|
||||
print $fh "confirmation=no\n";
|
||||
print $fh "print.empty.columns=yes\n";
|
||||
print $fh "data.location=.\n",
|
||||
"bulk=100\n",
|
||||
"confirmation=no\n",
|
||||
"print.empty.columns=yes\n",
|
||||
"report.ls.labels=ID,Project,Pri,Description\n";
|
||||
close $fh;
|
||||
ok (-r 'bug.rc', 'Created bug.rc');
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ unlike ($output, qr/Created task \d/, '\'new-id\' verbosity good');
|
||||
|
||||
# Verbosity: 'label'
|
||||
$output = qx{../src/task rc:verbose.rc ls rc.verbose:label 2>&1};
|
||||
like ($output, qr/ID.+Project.+Pri.+Description/, '\'label\' verbosity good');
|
||||
like ($output, qr/ID.+Proj.+Pri.+Description/, '\'label\' verbosity good');
|
||||
|
||||
# Verbosity: 'affected'
|
||||
$output = qx{../src/task rc:verbose.rc ls rc.verbose:affected 2>&1};
|
||||
|
||||
Reference in New Issue
Block a user