Commits

edgimar committed dac5b97

- updated test to use trailing newline

Comments (0)

Files changed (1)

         pass
     
     def test_text_to_tasktree(self):
+        # text should have trailing "\n" character, like most textfiles
         org_text = """\
 * Headline 1
 Body 1a
 Body 1b
 * DONE Headline 2
-** Headline 2.1"""
+** Headline 2.1
+"""
         
         tasktree = m.parse_text(org_text)
         self.assertEqual(org_text, str(tasktree))