diff --git a/Tests/feaLib/lexer_test.py b/Tests/feaLib/lexer_test.py index d1135d418..bb95a5b48 100644 --- a/Tests/feaLib/lexer_test.py +++ b/Tests/feaLib/lexer_test.py @@ -79,13 +79,10 @@ class LexerTest(unittest.TestCase): lex("foo - -2"), [(Lexer.NAME, "foo"), (Lexer.SYMBOL, "-"), (Lexer.NUMBER, -2)]) - #def test_comment(self): - # self.assertEqual(lex("# Comment\n#"), []) - - def test_comment_kept(self): + def test_comment(self): self.assertEqual(lex("# Comment\n#"), [(Lexer.COMMENT, "# Comment"), (Lexer.COMMENT, "#")]) - + def test_string(self): self.assertEqual(lex('"foo" "bar"'), [(Lexer.STRING, "foo"), (Lexer.STRING, "bar")])