From 581cbf27b13df62778b592158bf343c4dbf99276 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 5 Apr 2013 17:20:57 +1100 Subject: Added tests for Ruby and Perl lexers. --- test/lexTests.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/lexTests.py') 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", -- cgit v1.2.3