mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Code Cleanup
- Failing test on last quarters.
This commit is contained in:
parent
e9abac1d0f
commit
61b128ca88
1 changed files with 3 additions and 1 deletions
|
@ -366,7 +366,9 @@ int main (int argc, char** argv)
|
|||
t.is (eoq.month () % 3, 0, "eoq month is 3, 6, 9 or 12");
|
||||
|
||||
// Note: these fail during the night of daylight savings end.
|
||||
t.ok (soq.sameYear (now), "soq is in same year as now");
|
||||
t.ok (soq.sameYear (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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue