summary refs log tree commit diff stats
path: root/tools/nimsuggest/tests/tstrutils.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2016-10-31 20:12:54 +0100
committerAraq <rumpf_a@web.de>2016-10-31 20:12:54 +0100
commit08c94ef6b5beb3afb43787b406c61b0795ce66e2 (patch)
tree66a665e6c4d427e9bd771862fcd26bf40d470460 /tools/nimsuggest/tests/tstrutils.nim
parent29db0d8585a0b2d3297a1e7745bfb92bf0c943b7 (diff)
downloadNim-08c94ef6b5beb3afb43787b406c61b0795ce66e2.tar.gz
nimsuggest is now part of Nim
Diffstat (limited to 'tools/nimsuggest/tests/tstrutils.nim')
-rw-r--r--tools/nimsuggest/tests/tstrutils.nim9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/nimsuggest/tests/tstrutils.nim b/tools/nimsuggest/tests/tstrutils.nim
new file mode 100644
index 000000000..667c1660c
--- /dev/null
+++ b/tools/nimsuggest/tests/tstrutils.nim
@@ -0,0 +1,9 @@
+discard """
+$nimsuggest --tester ../nim/lib/pure/strutils.nim
+>def ../nim/lib/pure/strutils.nim:2300:6
+def;;skTemplate;;system.doAssert;;proc (cond: bool, msg: string): typed;;*/lib/system.nim;;*;;9;;"";;100
+"""
+
+# Line 2300 in strutils.nim is doAssert and this is unlikely to change
+# soon since there are a whole lot of doAsserts there.
+