mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 08:50:45 -07:00
Ensure raw tag has no arguments
This commit is contained in:
@@ -24,6 +24,7 @@ class RawTagTest < Minitest::Test
|
||||
end
|
||||
|
||||
def test_invalid_raw
|
||||
assert_match_syntax_error /tag was never closed/, '{% raw } foo {% endraw %}'
|
||||
assert_match_syntax_error /tag was never closed/, '{% raw %} foo'
|
||||
assert_match_syntax_error /Valid syntax/, '{% raw } foo %}{% endraw %}'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user