From f0afbc27e021cb779be4571c9eff65068870a8ff Mon Sep 17 00:00:00 2001 From: Dylan Thacker-Smith Date: Mon, 24 Mar 2014 10:01:03 -0400 Subject: [PATCH] Add regression test for raw tags with open variable tags. --- test/liquid/tags/raw_tag_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/liquid/tags/raw_tag_test.rb b/test/liquid/tags/raw_tag_test.rb index 4323bc7..1583ef0 100644 --- a/test/liquid/tags/raw_tag_test.rb +++ b/test/liquid/tags/raw_tag_test.rb @@ -20,5 +20,6 @@ class RawTagTest < Test::Unit::TestCase assert_template_result ' Foobar {% invalid {% {% endraw ', '{% raw %} Foobar {% invalid {% {% endraw {% endraw %}' assert_template_result ' Foobar {% {% {% ', '{% raw %} Foobar {% {% {% {% endraw %}' assert_template_result ' test {% raw %} {% endraw %}', '{% raw %} test {% raw %} {% {% endraw %}endraw %}' + assert_template_result ' Foobar {{ invalid 1', '{% raw %} Foobar {{ invalid {% endraw %}{{ 1 }}' end end