Remove literal tag (raw is more performant)

This reverts commit c00a650492.
This commit is contained in:
Jonathan Rudenberg
2011-06-13 09:34:15 -04:00
parent 17922273e1
commit f85bea2902
5 changed files with 1 additions and 88 deletions
-5
View File
@@ -41,9 +41,4 @@ class RegexpTest < Test::Unit::TestCase
assert_equal ['var', '["method"]', '[0]'], 'var["method"][0]'.scan(VariableParser)
assert_equal ['var', '[method]', '[0]', 'method'], 'var[method][0].method'.scan(VariableParser)
end
def test_literal_shorthand_regexp
assert_equal [["{% if 'gnomeslab' contains 'liquid' %}yes{% endif %}"]],
"{{{ {% if 'gnomeslab' contains 'liquid' %}yes{% endif %} }}}".scan(LiteralShorthand)
end
end # RegexpTest