mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Test: Removed sensitivity on floating point formatting
This commit is contained in:
parent
26f218a1e4
commit
26f9e066e7
1 changed files with 2 additions and 2 deletions
|
@ -354,8 +354,8 @@ class TestDateFormats(TestCase):
|
||||||
def test_date_format_julian(self):
|
def test_date_format_julian(self):
|
||||||
"""Verify due.julian formatting"""
|
"""Verify due.julian formatting"""
|
||||||
code, out, err = self.t("xxx rc.report.xxx.columns:id,due.julian")
|
code, out, err = self.t("xxx rc.report.xxx.columns:id,due.julian")
|
||||||
self.assertRegexpMatches(out, r'1\s+\d+\.\d{5}')
|
self.assertRegexpMatches(out, r'1\s+\d+\.\d+')
|
||||||
self.assertRegexpMatches(out, r'2\s+\d+\.\d{5}')
|
self.assertRegexpMatches(out, r'2\s+\d+\.\d+')
|
||||||
|
|
||||||
def test_date_format_epoch(self):
|
def test_date_format_epoch(self):
|
||||||
"""Verify due.epoch formatting"""
|
"""Verify due.epoch formatting"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue