From ac4ecbecad198aa7986a4068227498b88244e65f Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Wed, 25 Jan 2017 21:35:38 -0500 Subject: [PATCH] TI-61: Typo in exclusion.t.cpp - Thanks to Thomas Lauf. --- AUTHORS | 1 + ChangeLog | 2 ++ test/exclusion.t.cpp | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index 566bcd7a..37d74243 100644 --- a/AUTHORS +++ b/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: diff --git a/ChangeLog b/ChangeLog index 1f85a746..887c8689 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/test/exclusion.t.cpp b/test/exclusion.t.cpp index 86f25fcf..3b3738e3 100644 --- a/test/exclusion.t.cpp +++ b/test/exclusion.t.cpp @@ -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'");