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