fixed but with single char identifiers

This commit is contained in:
Tobias Lutke
2012-10-30 21:41:56 -04:00
parent 82c222ef0f
commit 2f6b67798e
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -42,6 +42,7 @@ class ParserTest < Test::Unit::TestCase
def test_lookups
assert_equal [[:id, "variable"], [:lookup, nil]], Parser.parse('variable')
assert_equal [[:id, "underscored_variable"], [:lookup, nil]], Parser.parse('underscored_variable')
assert_equal [[:id, "c"], [:lookup, nil]], Parser.parse('c')
end
def test_global_hash