mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 08:50:45 -07:00
Extract Parser#range_lookup out of Expression.parse
This commit is contained in:
@@ -46,7 +46,7 @@ class ExpressionTest < Minitest::Test
|
||||
"{{ (false..true) }}",
|
||||
)
|
||||
assert_match_syntax_error(
|
||||
"Liquid syntax error (line 1): Invalid expression type '(1..2)' in range expression",
|
||||
"Liquid syntax error (line 1): Invalid expression type '1..2' in range expression",
|
||||
"{{ ((1..2)..3) }}",
|
||||
)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user