mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 04:13:07 +02:00
TW-1756: The columns.t unit test fails two tests after 2300 local
This commit is contained in:
parent
3957c3567a
commit
6a0960174f
2 changed files with 3 additions and 2 deletions
|
@ -49,6 +49,7 @@
|
|||
- TW-1750 REG_ENHANCED, used in RX.cpp, isn't defined in all versions of Darwin
|
||||
(thanks to Misty De Meo).
|
||||
- TW-1752 cleanup of diag output (thanks to David Patrick).
|
||||
- TW-1756 The columns.t unit test fails two tests after 2300 local.
|
||||
- Fixed broken build for Cygwin and older GCC (thanks to Richard Boß).
|
||||
- The default configuration is now 256-color only.
|
||||
- The 'columns' report now shows whether a column is modifiable or read only.
|
||||
|
|
|
@ -373,7 +373,7 @@ class TestDateFormats(TestCase):
|
|||
"""Verify due.age formatting"""
|
||||
code, out, err = self.t("xxx rc.report.xxx.columns:id,due.age")
|
||||
self.assertRegexpMatches(out, r'1\s+[0-9.]+d')
|
||||
self.assertRegexpMatches(out, r'2\s+-[0-9.]+h')
|
||||
self.assertRegexpMatches(out, r'2\s+-[0-9.]+[hmin]+')
|
||||
|
||||
def test_date_format_remaining(self):
|
||||
"""Verify due.remaining formatting"""
|
||||
|
@ -385,7 +385,7 @@ class TestDateFormats(TestCase):
|
|||
"""Verify due.relative formatting"""
|
||||
code, out, err = self.t("xxx rc.report.xxx.columns:id,due.relative")
|
||||
self.assertRegexpMatches(out, r'1\s+-[0-9.]+d')
|
||||
self.assertRegexpMatches(out, r'2\s+[0-9.]+h')
|
||||
self.assertRegexpMatches(out, r'2\s+[0-9.]+[hmin]+')
|
||||
|
||||
def test_date_format_countdown(self):
|
||||
"""Verify due.countdown formatting"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue