aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/lexTests.py
diff options
context:
space:
mode:
authornyamatongwe <unknown>2013-04-05 17:20:57 +1100
committernyamatongwe <unknown>2013-04-05 17:20:57 +1100
commit581cbf27b13df62778b592158bf343c4dbf99276 (patch)
treeb25b0e3e180fe799f66203c68d1c9810e96bd528 /test/lexTests.py
parent8cdd9b7678b928610b7cd422eca196463d0cb138 (diff)
downloadscintilla-mirror-581cbf27b13df62778b592158bf343c4dbf99276.tar.gz
Added tests for Ruby and Perl lexers.
Diffstat (limited to 'test/lexTests.py')
-rw-r--r--test/lexTests.py6
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",