mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-26 13:45:13 -07:00
Update test/integration/tags/table_row_test.rb
Co-authored-by: Gray Gilmore <[email protected]>
This commit is contained in:
co-authored by
Gray Gilmore
parent
51f312b220
commit
d38795168b
@@ -461,7 +461,6 @@ class TableRowTest < Minitest::Test
|
|||||||
end
|
end
|
||||||
|
|
||||||
with_error_modes(:rigid) do
|
with_error_modes(:rigid) do
|
||||||
# Rigid mode validates expression syntax and rejects invalid expressions
|
|
||||||
error = assert_raises(SyntaxError) { Template.parse(template) }
|
error = assert_raises(SyntaxError) { Template.parse(template) }
|
||||||
assert_match(/Unexpected character =/, error.message)
|
assert_match(/Unexpected character =/, error.message)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user