Move tests for VariableLookup

This commit is contained in:
Peter Zhu
2020-11-12 16:14:33 -05:00
parent 933a1f1e7e
commit 2c27c2a6e1
3 changed files with 42 additions and 11 deletions
-6
View File
@@ -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)