mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 09:53:08 +02:00
Test: Corrected report output
- With rc.print.empty.columns now suppressing indicator formats, test that use the 'ls' report have different alignment.
This commit is contained in:
parent
e930bb0ba9
commit
415690ca23
1 changed files with 2 additions and 2 deletions
|
@ -47,14 +47,14 @@ class TestHyphenation(TestCase):
|
|||
"""Split on space instead of hyphenating"""
|
||||
self.t("add AAAAAAAAAA BBBBBBBBBB")
|
||||
code, out, err = self.t("ls")
|
||||
self.assertIn("1 AAAAAAAAAA\n", out)
|
||||
self.assertIn("1 AAAAAAAAAA\n", out)
|
||||
|
||||
@unittest.expectedFailure
|
||||
def test_hyphenation(self):
|
||||
"""Verify hyphenation in the absence of white space"""
|
||||
self.t("add AAAAAAAAAABBBBBBBBBBCCCCCCCCCC")
|
||||
code, out, err = self.t("ls")
|
||||
self.assertIn("1 AAAAAAAAAABBBB-\n", out)
|
||||
self.assertIn("1 AAAAAAAAAABBBB-\n", out)
|
||||
|
||||
if __name__ == "__main__":
|
||||
from simpletap import TAPTestRunner
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue