Unit Tests

- Fixed test that assumed old-style command usage.
- Corrected duration unit tests.
This commit is contained in:
Paul Beckingham 2011-07-02 10:09:37 -04:00
parent 32392b8650
commit e1aea08f81
4 changed files with 9 additions and 8 deletions

View file

@ -176,7 +176,7 @@ void Command::factory (std::map <std::string, Command*>& all)
c = new CmdCustom (
*report,
"task " + *report + " [tags] [attrs] desc...",
"task " + *report + " [<filter>]",
context.config.get ("report." + *report + ".description"));
all[c->keyword ()] = c;