From 889019f53a390df1c80d37c1c8ef9ea3fdfe1b18 Mon Sep 17 00:00:00 2001 From: Justin Li Date: Tue, 2 Jun 2015 15:21:51 -0400 Subject: [PATCH] Keep old test as well --- test/integration/tags/raw_tag_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/integration/tags/raw_tag_test.rb b/test/integration/tags/raw_tag_test.rb index 349eadc..c672734 100644 --- a/test/integration/tags/raw_tag_test.rb +++ b/test/integration/tags/raw_tag_test.rb @@ -25,6 +25,7 @@ class RawTagTest < Minitest::Test def test_invalid_raw assert_match_syntax_error /tag was never closed/, '{% raw %} foo' + assert_match_syntax_error /Valid syntax/, '{% raw } foo {% endraw %}' assert_match_syntax_error /Valid syntax/, '{% raw } foo %}{% endraw %}' end end