mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug
- Fixed ambiguous operator precedence in unit test.
This commit is contained in:
parent
61b128ca88
commit
fd731dfd6e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue