diff options
Diffstat (limited to 'test/lexTests.py')
-rw-r--r-- | test/lexTests.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/lexTests.py b/test/lexTests.py index 2a245649c..3c5ccc147 100644 --- a/test/lexTests.py +++ b/test/lexTests.py @@ -110,6 +110,12 @@ class TestLexers(unittest.TestCase): def testLua(self): self.LexExample("x.lua", b"lua", [b"function end"]) + def testRuby(self): + self.LexExample("x.rb", b"ruby", [b"class def end"]) + + def testPerl(self): + self.LexExample("x.pl", b"perl", [b"printf sleep use while"]) + def testD(self): self.LexExample("x.d", b"d", [b"keyword1", b"keyword2", b"", b"keyword4", b"keyword5", |