TI-61: Typo in exclusion.t.cpp

- Thanks to Thomas Lauf.
This commit is contained in:
Paul Beckingham 2017-01-25 21:35:38 -05:00
parent 538fc6c6ea
commit ac4ecbecad
3 changed files with 4 additions and 1 deletions

View file

@ -20,6 +20,7 @@ The following submitted code, packages or analysis, and deserve special thanks:
Felix Wolfsteller Felix Wolfsteller
Jörg Krause Jörg Krause
Richard Brown Richard Brown
Thomas Lauf
Thanks to the following, who submitted detailed bug reports and excellent Thanks to the following, who submitted detailed bug reports and excellent
suggestions: suggestions:

View file

@ -14,6 +14,8 @@
(thanks to Mattia Rizzolo). (thanks to Mattia Rizzolo).
- TI-52 The 'refresh' scripts overwrites previous years data - TI-52 The 'refresh' scripts overwrites previous years data
(thanks to m8r). (thanks to m8r).
- TI-61 Typo in exclusion.t.cpp
(thanks to Thomas Lauf).
- Fixed Python 3 support of the holdiay/refresh script - Fixed Python 3 support of the holdiay/refresh script
(thanks to Jelle van der Waa). (thanks to Jelle van der Waa).
- Added missing man page link - Added missing man page link

View file

@ -54,7 +54,7 @@ int main (int, char**)
Exclusion e1 ("exclusions.monday", "<8:00:00 12:00:00-12:45:00 >17:30:00"); Exclusion e1 ("exclusions.monday", "<8:00:00 12:00:00-12:45:00 >17:30:00");
auto tokens = e1.tokens (); 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.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[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[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'"); 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'");