mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03: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