diff options
author | Araq <rumpf_a@web.de> | 2016-10-31 20:12:54 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2016-10-31 20:12:54 +0100 |
commit | 08c94ef6b5beb3afb43787b406c61b0795ce66e2 (patch) | |
tree | 66a665e6c4d427e9bd771862fcd26bf40d470460 /tools/nimsuggest/tests/tstrutils.nim | |
parent | 29db0d8585a0b2d3297a1e7745bfb92bf0c943b7 (diff) | |
download | Nim-08c94ef6b5beb3afb43787b406c61b0795ce66e2.tar.gz |
nimsuggest is now part of Nim
Diffstat (limited to 'tools/nimsuggest/tests/tstrutils.nim')
-rw-r--r-- | tools/nimsuggest/tests/tstrutils.nim | 9 |
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. + |