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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user