summary refs log tree commit diff stats
path: root/tools/nimsuggest/tests/tstrutils.nim
diff options
context:
space:
mode:
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..f5cda9505
--- /dev/null
+++ b/tools/nimsuggest/tests/tstrutils.nim
@@ -0,0 +1,9 @@
+discard """
+$nimsuggest --tester lib/pure/strutils.nim
+>def 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.
+