- Fixed ambiguous operator precedence in unit test.
This commit is contained in:
Paul Beckingham 2012-08-02 00:27:18 -04:00
parent 61b128ca88
commit fd731dfd6e

View file

@ -367,8 +367,8 @@ int main (int argc, char** argv)
// Note: these fail during the night of daylight savings end.
t.ok (soq.sameYear (now) ||
now.month () >= 10 &&
soq.year () == now.year () + 1, "soq is in same year as now");
(now.month () >= 10 &&
soq.year () == now.year () + 1), "soq is in same year as now");
t.ok (eoq.sameYear (now), "eoq is in same year as now");
// Date::sameHour