mirror of
https://github.com/Shopify/liquid.git
synced 2026-10-03 09:05:13 -07:00
Stop passing unnecessary assigns to assert_match_syntax_error
This commit is contained in:
@@ -32,9 +32,7 @@ class AssignTest < Minitest::Test
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_assign_syntax_error
|
def test_assign_syntax_error
|
||||||
assert_match_syntax_error(/assign/,
|
assert_match_syntax_error(/assign/, '{% assign foo not values %}.')
|
||||||
'{% assign foo not values %}.',
|
|
||||||
{ 'values' => "foo,bar,baz" })
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_assign_uses_error_mode
|
def test_assign_uses_error_mode
|
||||||
|
|||||||
Reference in New Issue
Block a user