mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Bug #723
- Fixed Bug #723, which displayed a misleading message when the output was truncated to a page.
This commit is contained in:
parent
a1d47e9509
commit
3cccdf722e
3 changed files with 5 additions and 3 deletions
|
@ -17,13 +17,15 @@
|
||||||
+ Added feature #700, which adds tab-completion of built-in tags.
|
+ Added feature #700, which adds tab-completion of built-in tags.
|
||||||
+ Added feature #710, which adds an attribute modifier prefix to return the
|
+ Added feature #710, which adds an attribute modifier prefix to return the
|
||||||
complement of a filtered set (thanks to Dan White).
|
complement of a filtered set (thanks to Dan White).
|
||||||
|
+ Added feature #714, including Belarus holidays (thanks to Alexei Romanoff).
|
||||||
|
|
||||||
# Tracked Bugs, sorted by ID.
|
# Tracked Bugs, sorted by ID.
|
||||||
+ Fixed bug #703, where global substitutions didn't make all expected
|
+ Fixed bug #703, where global substitutions didn't make all expected
|
||||||
annotation changes.
|
annotation changes.
|
||||||
+ Fixed Bug #713, which fixes typos in the holidays-UK.rc file (thanks to
|
+ Fixed Bug #713, which fixes typos in the holidays-UK.rc file (thanks to
|
||||||
Alexei Romanoff).
|
Alexei Romanoff).
|
||||||
+ Added feature #714, including Belarus holidays (thanks to Alexei Romanoff).
|
+ Fixed Bug #723, which displayed a misleading message when the output was
|
||||||
|
truncated to a page.
|
||||||
|
|
||||||
# Untracked Bugs, biggest first.
|
# Untracked Bugs, biggest first.
|
||||||
|
|
||||||
|
|
|
@ -677,7 +677,7 @@ int handleCustomReport (const std::string& report, std::string& outs)
|
||||||
out << ", " << maxrows << " shown";
|
out << ", " << maxrows << " shown";
|
||||||
|
|
||||||
if (maxlines && maxlines < table.rowCount ())
|
if (maxlines && maxlines < table.rowCount ())
|
||||||
out << ", truncated to " << maxlines - table_header << " tasks";
|
out << ", truncated to " << maxlines - table_header << " lines";
|
||||||
|
|
||||||
out << std::endl;
|
out << std::endl;
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,7 +80,7 @@ $output = qx{../src/task rc:limit.rc ls limit:3};
|
||||||
like ($output, qr/^30 tasks, 3 shown$/ms, 'limited to 3');
|
like ($output, qr/^30 tasks, 3 shown$/ms, 'limited to 3');
|
||||||
|
|
||||||
$output = qx{../src/task rc:limit.rc ls limit:page};
|
$output = qx{../src/task rc:limit.rc ls limit:page};
|
||||||
like ($output, qr/^30 tasks, truncated to 17 tasks$/ms, 'limited to page');
|
like ($output, qr/^30 tasks, truncated to 17 lines$/ms, 'limited to page');
|
||||||
|
|
||||||
# Cleanup.
|
# Cleanup.
|
||||||
unlink 'pending.data';
|
unlink 'pending.data';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue