Bug
- Fixed ambiguous operator precedence in unit test.
This commit is contained in:
@@ -367,8 +367,8 @@ int main (int argc, char** argv)
|
|||||||
|
|
||||||
// Note: these fail during the night of daylight savings end.
|
// Note: these fail during the night of daylight savings end.
|
||||||
t.ok (soq.sameYear (now) ||
|
t.ok (soq.sameYear (now) ||
|
||||||
now.month () >= 10 &&
|
(now.month () >= 10 &&
|
||||||
soq.year () == now.year () + 1, "soq is in same year as now");
|
soq.year () == now.year () + 1), "soq is in same year as now");
|
||||||
t.ok (eoq.sameYear (now), "eoq is in same year as now");
|
t.ok (eoq.sameYear (now), "eoq is in same year as now");
|
||||||
|
|
||||||
// Date::sameHour
|
// Date::sameHour
|
||||||
|
|||||||
Reference in New Issue
Block a user