Fix opening hours parser test

This commit is contained in:
Alexey Kulish 2016-04-07 12:38:46 +03:00
parent 573b162037
commit ace2428975

View file

@ -1008,7 +1008,7 @@ public class OpeningHoursParser {
String assembledString = hours.toStringNoMonths();
boolean isCorrect = assembledString.equalsIgnoreCase(timeString);
System.out.printf(" %sok: Expected: \"%s\" got: \"%s\"\n",
(isCorrect ? "NOT " : ""), timeString, assembledString);
(!isCorrect ? "NOT " : ""), timeString, assembledString);
if (!isCorrect) {
throw new IllegalArgumentException("BUG!!!");
}