mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Test: Added and removed a test
- Added a test to see if long lines are properly hyphenated. - Removed a test for hyphenation on comma, which is not implemented.
This commit is contained in:
parent
2a19247ad1
commit
cb82946ad5
1 changed files with 4 additions and 4 deletions
|
@ -49,11 +49,11 @@ class TestHyphenation(TestCase):
|
|||
code, out, err = self.t("ls")
|
||||
self.assertIn("1 AAAAAAAAAA\n", out)
|
||||
|
||||
def test_hyphenation_on_comma(self):
|
||||
"""Split on comma instead of hyphenating"""
|
||||
self.t("add AAAAAAAAAA,BBBBBBBBBB")
|
||||
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 AAAAAAAAAA,\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