mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-18 02:10:41 -07:00
Revert "Merge pull request #463 from Shopify/stricter-identifiers"
This reverts commita056f6521c, reversing changes made to7843bcca8d.
This commit is contained in:
@@ -31,8 +31,8 @@ class LexerUnitTest < Minitest::Test
|
||||
end
|
||||
|
||||
def test_fancy_identifiers
|
||||
tokens = Lexer.new('hi five?').tokenize
|
||||
assert_equal [[:id,'hi'], [:id, 'five'], [:question, '?'], [:end_of_string]], tokens
|
||||
tokens = Lexer.new('hi! five?').tokenize
|
||||
assert_equal [[:id,'hi!'], [:id, 'five?'], [:end_of_string]], tokens
|
||||
end
|
||||
|
||||
def test_whitespace
|
||||
|
||||
Reference in New Issue
Block a user