Revert "Merge pull request #463 from Shopify/stricter-identifiers"

This reverts commit a056f6521c, reversing
changes made to 7843bcca8d.
This commit is contained in:
Florian Weingarten
2014-11-07 01:49:01 +00:00
parent 475ea51f1f
commit d6db28c854
4 changed files with 6 additions and 15 deletions
+2 -2
View File
@@ -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