mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 08:50:45 -07:00
store StringScanner in ParseContext and reuse it through parsing
This commit is contained in:
@@ -43,7 +43,7 @@ class ExpressionTest < Minitest::Test
|
||||
end
|
||||
|
||||
def test_quirky_negative_sign_expression_markup
|
||||
result = Expression.parse("-")
|
||||
result = Expression.parse("-", nil)
|
||||
assert(result.is_a?(VariableLookup))
|
||||
assert_equal("-", result.name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user