diff options
Diffstat (limited to 'test/test_stpl.py')
-rwxr-xr-x | test/test_stpl.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_stpl.py b/test/test_stpl.py index 47232a6..ac03ef0 100755 --- a/test/test_stpl.py +++ b/test/test_stpl.py @@ -225,6 +225,9 @@ class TestSimpleTemplate(unittest.TestCase): t = SimpleTemplate('anything') self.assertEqual(touni('anything'), t.render()) + def test_bug_no_whitespace_before_stmt(self): + self.assertRenders('\n{{var}}', '\nx', var='x') + if __name__ == '__main__': #pragma: no cover unittest.main() |