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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user