Add ParseTreeVisitor to RangeLookup

This commit is contained in:
Charles-P. Clermont
2021-09-09 11:22:39 -04:00
parent 50d1a2ffc9
commit c8906d05b9
2 changed files with 15 additions and 0 deletions
+7
View File
@@ -159,6 +159,13 @@ class ParseTreeVisitorTest < Minitest::Test
)
end
def test_for_range
assert_equal(
["test"],
visit(%({% for x in (1..test) %}{% endfor %}))
)
end
def test_tablerow_in
assert_equal(
["test"],