summary refs log tree commit diff stats
path: root/tests/lexer
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2018-11-14 23:14:16 +0100
committerAraq <rumpf_a@web.de>2018-11-23 11:58:28 +0100
commite012eb100109d343b7cdbe2598d439d84eda7830 (patch)
treeec977218e469415b04cc7005473f9f3358dcd553 /tests/lexer
parent8ea72bdceab5a13318a0269bb44990e514bf03a7 (diff)
downloadNim-e012eb100109d343b7cdbe2598d439d84eda7830.tar.gz
updated tests to be executed
Diffstat (limited to 'tests/lexer')
-rw-r--r--tests/lexer/tident.nim14
1 files changed, 13 insertions, 1 deletions
diff --git a/tests/lexer/tident.nim b/tests/lexer/tident.nim
index 3327344a5..e5177436d 100644
--- a/tests/lexer/tident.nim
+++ b/tests/lexer/tident.nim
@@ -1,3 +1,16 @@
+discard """
+output: '''
+Length correct
+Correct
+Correct
+Correct
+Correct
+Correct
+Correct
+Correct
+Correct
+'''
+"""
 
 type
   TIdObj* = object of RootObj
@@ -19,4 +32,3 @@ proc myNewString(L: int): string {.inline.} =
       echo("Wrong")
 
 var s = myNewString(8)
-