aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/lexTests.py
diff options
context:
space:
mode:
authorJad Altahan <xviyy@aol.com>2019-01-29 09:18:07 +1100
committerJad Altahan <xviyy@aol.com>2019-01-29 09:18:07 +1100
commita207c0aa819f933567139c5f5b5625e5f659c3d2 (patch)
treeeac9de905dd919555a6dea589a09eb62ed49f974 /test/lexTests.py
parent38eaf3e8dd62005ee858b7b3d0e8a345bd8cdd05 (diff)
downloadscintilla-mirror-a207c0aa819f933567139c5f5b5625e5f659c3d2.tar.gz
Backport: Feature [feature-requests:#1260]. Fix inconsistency with dot styling in Nim.
Backport of changeset 7240:99281d1bec87.
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"])