diff options
author | nyamatongwe <devnull@localhost> | 2013-04-05 17:20:57 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2013-04-05 17:20:57 +1100 |
commit | 52b3989c2d1823d0b603daf6a02a89f4796930c0 (patch) | |
tree | d948600a732d9ae2fc289e5c5a8b89e37d574b60 /test/lexTests.py | |
parent | f71d19fc8b7a43291e387b0111c32c7dd4507a52 (diff) | |
download | scintilla-mirror-52b3989c2d1823d0b603daf6a02a89f4796930c0.tar.gz |
Added tests for Ruby and Perl lexers.
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", |