summary refs log tree commit diff stats
path: root/tests/effects
diff options
context:
space:
mode:
authoree7 <45465154+ee7@users.noreply.github.com>2020-12-07 17:07:12 +0100
committerGitHub <noreply@github.com>2020-12-07 17:07:12 +0100
commit84fea7c1445475aba51d889668f250b0261443e4 (patch)
tree032dbbe0445da2d5dd9330fe5c6d2bf46f77c907 /tests/effects
parent71e2a9e569ab3380fd057e4fc16e6d4ccd66f1f4 (diff)
downloadNim-84fea7c1445475aba51d889668f250b0261443e4.tar.gz
strutils.nim: Use `func` everywhere (#16281)
* strutils.nim: procs with {.noSideEffect.} -> func

* strutils.nim: procs without {.noSideEffect.} -> func

* strutils.nim: proc -> func for links

* strutils.nim: proc -> func in doc comments

* test: add strutils to strictFuncs test

* test: proc -> func in errmsg test
Diffstat (limited to 'tests/effects')
-rw-r--r--tests/effects/tstrict_funcs.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/effects/tstrict_funcs.nim b/tests/effects/tstrict_funcs.nim
index 0028e7d7e..715278f51 100644
--- a/tests/effects/tstrict_funcs.nim
+++ b/tests/effects/tstrict_funcs.nim
@@ -2,7 +2,7 @@ discard """
   cmd: "nim c --experimental:strictFuncs --experimental:views $file"
 """
 
-import tables, streams, nre, parsecsv, uri, httpcore
+import tables, streams, nre, parsecsv, uri, httpcore, strutils
 
 type
   Contig2Reads = TableRef[string, seq[string]]
@@ -26,4 +26,4 @@ block:
     result[x.len] = move(y)
 
   var x = @[0, 1]
-  let z = x &&& 2
\ No newline at end of file
+  let z = x &&& 2