Skip to content
Browse files

- Extended testcase for bug #196

  • Loading branch information...
1 parent c02b6f3 commit ca71d4a2c305379212db26151cb246f96e0c1aa2 @Naddiseo committed
Showing with 7 additions and 0 deletions.
  1. +7 −0 jinja2/testsuite/regression.py
View
7 jinja2/testsuite/regression.py
@@ -255,6 +255,13 @@ def test_strip_white_by_dict(self):
output = tpl1.render(g = dict(a = 'TEST'))
self.assert_equal(expected, output)
+
+ tpl2 = Template("""
+ {{g.a}}
+ """)
+ expected = '\n TEST\n '
+ output = tpl2.render(g = dict(a = 'TEST'))
+ self.assert_equal(expected, output)
def suite():
suite = unittest.TestSuite()

0 comments on commit ca71d4a

Please sign in to comment.
Something went wrong with that request. Please try again.