mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-16 09:20:42 -07:00
Move tests for VariableLookup
This commit is contained in:
@@ -152,12 +152,6 @@ class VariableUnitTest < Minitest::Test
|
||||
assert_equal(" name_of_variable | upcase ", var.raw)
|
||||
end
|
||||
|
||||
def test_variable_lookup_interface
|
||||
lookup = parse_variable_lookup('a.b.c')
|
||||
assert_equal('a', lookup.name)
|
||||
assert_equal(['b', 'c'], lookup.lookups)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def parse_variable_lookup(markup)
|
||||
|
||||
Reference in New Issue
Block a user