mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Unit Tests - repair
- Added auto right trim to all table rows, which is a much more efficient way of doing what Table::optimize was doing. - Table::optimize is now a nop.
This commit is contained in:
parent
3f418c6fdc
commit
28e997691f
5 changed files with 18 additions and 49 deletions
|
@ -1205,11 +1205,7 @@ std::string handleReportGHistory (TDB& tdb, T& task, Config& conf)
|
|||
else
|
||||
out << "No tasks." << std::endl;
|
||||
|
||||
// Eliminate redundant color codes.
|
||||
std::string optimized = out.str ();
|
||||
table.optimize (optimized);
|
||||
|
||||
return optimized;
|
||||
return out.str ();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -2266,7 +2262,7 @@ std::string handleCustomReport (
|
|||
|
||||
// Load all pending tasks.
|
||||
std::vector <T> tasks;
|
||||
tdb.pendingT (tasks);
|
||||
tdb.allPendingT (tasks);
|
||||
handleRecurrence (tdb, tasks);
|
||||
|
||||
// Apply filters.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue