From cb82946ad58b8724612b0604487eded43f6aca74 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 11 Jul 2015 15:30:42 -0400 Subject: [PATCH] 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. --- test/hyphenate.t | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/hyphenate.t b/test/hyphenate.t index 1e404848a..08382da07 100755 --- a/test/hyphenate.t +++ b/test/hyphenate.t @@ -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