mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 08:50:45 -07:00
Allow :id to start with the word contains
This commit is contained in:
@@ -19,7 +19,7 @@ class LexerUnitTest < Minitest::Test
|
||||
end
|
||||
|
||||
def test_comparison
|
||||
tokens = Lexer.new('== <> contains').tokenize
|
||||
tokens = Lexer.new('== <> contains ').tokenize
|
||||
assert_equal [[:comparison, '=='], [:comparison, '<>'], [:comparison, 'contains'], [:end_of_string]], tokens
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user