mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03:00
Remove redunant logic
This commit is contained in:
@@ -66,9 +66,6 @@ module Liquid
|
||||
s = S_VAR
|
||||
output << current
|
||||
current = t
|
||||
elsif t == T_VAR_OPEN && s == S_TAG
|
||||
s = S_VAR
|
||||
current += t
|
||||
elsif t == T_SIN_QUOT && s == S_TAG
|
||||
s = S_TAG_SIN
|
||||
current += t
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'test_helper'
|
||||
|
||||
class AssignTagTest < Minitest::Test
|
||||
@@ -14,5 +16,4 @@ class AssignTagTest < Minitest::Test
|
||||
def test_liquid_issue_701
|
||||
assert_template_result(" contents: _{% endraw %}_", "{% assign endraw = '{% endraw %}' %} contents: _{{endraw}}_")
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user