mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
TI-61: Typo in exclusion.t.cpp
- Thanks to Thomas Lauf.
This commit is contained in:
parent
538fc6c6ea
commit
ac4ecbecad
3 changed files with 4 additions and 1 deletions
1
AUTHORS
1
AUTHORS
|
@ -20,6 +20,7 @@ The following submitted code, packages or analysis, and deserve special thanks:
|
|||
Felix Wolfsteller
|
||||
Jörg Krause
|
||||
Richard Brown
|
||||
Thomas Lauf
|
||||
|
||||
Thanks to the following, who submitted detailed bug reports and excellent
|
||||
suggestions:
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
(thanks to Mattia Rizzolo).
|
||||
- TI-52 The 'refresh' scripts overwrites previous years data
|
||||
(thanks to m8r).
|
||||
- TI-61 Typo in exclusion.t.cpp
|
||||
(thanks to Thomas Lauf).
|
||||
- Fixed Python 3 support of the holdiay/refresh script
|
||||
(thanks to Jelle van der Waa).
|
||||
- Added missing man page link
|
||||
|
|
|
@ -54,7 +54,7 @@ int main (int, char**)
|
|||
Exclusion e1 ("exclusions.monday", "<8:00:00 12:00:00-12:45:00 >17:30:00");
|
||||
auto tokens = e1.tokens ();
|
||||
t.ok (tokens.size () == 5, "Exclusion 'exclusions.monday <8:00:00 12:00:00-12:45:00 >17:30:00' --> 5");
|
||||
t.is (tokens[0], "exclusions", "Exclusion 'eclusions. monday <8:00:00 12:00:00-12:45:00 >17:30:00' [0] --> 'exc'");
|
||||
t.is (tokens[0], "exclusions", "Exclusion 'exclusions.monday <8:00:00 12:00:00-12:45:00 >17:30:00' [0] --> 'exc'");
|
||||
t.is (tokens[1], "monday", "Exclusion 'exclusions.monday <8:00:00 12:00:00-12:45:00 >17:30:00' [1] --> 'monday'");
|
||||
t.is (tokens[2], "<8:00:00", "Exclusion 'exclusions.monday <8:00:00 12:00:00-12:45:00 >17:30:00' [2] --> '<8:00:00'");
|
||||
t.is (tokens[3], "12:00:00-12:45:00", "Exclusion 'exclusions.monday <8:00:00 12:00:00-12:45:00 >17:30:00' [3] --> '12:00:00-12:45:00'");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue