aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/lexTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lexTests.py')
-rw-r--r--test/lexTests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lexTests.py b/test/lexTests.py
index 2dbb1b3ad..92042aa08 100644
--- a/test/lexTests.py
+++ b/test/lexTests.py
@@ -156,6 +156,9 @@ class TestLexers(unittest.TestCase):
def testLua(self):
self.LexExample("x.lua", b"lua", [b"function end"])
+ def testNim(self):
+ self.LexExample("x.nim", b"nim", [b"else end if let"])
+
def testRuby(self):
self.LexExample("x.rb", b"ruby", [b"class def end"])