summary refs log tree commit diff stats
path: root/tests/arc
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2020-09-09 14:20:10 +0200
committerGitHub <noreply@github.com>2020-09-09 14:20:10 +0200
commit3f00a738dbc8319b4dd2b86bf5529c096f2dd243 (patch)
tree1e730a512147d2d9de9fba8772921327c5d8ac62 /tests/arc
parent217675cf84dc47bb68f03b341aff14315804efec (diff)
downloadNim-3f00a738dbc8319b4dd2b86bf5529c096f2dd243.tar.gz
fixes #15280 [backport:1.2] (#15281)
* fixes #15280 [backport:1.2]

* make tests green again

* adapt tests
Diffstat (limited to 'tests/arc')
-rw-r--r--tests/arc/tmovebug.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/arc/tmovebug.nim b/tests/arc/tmovebug.nim
index 3b7a7c5df..c735ea1eb 100644
--- a/tests/arc/tmovebug.nim
+++ b/tests/arc/tmovebug.nim
@@ -502,7 +502,7 @@ weirdScopes()
 # bug #14985
 proc getScope(): string =
   if true:
-    return "hi"
+    "hi"
   else:
     "else"
 
@@ -512,14 +512,14 @@ proc getScope3(): string =
   try:
     "try"
   except:
-    return "except"
+    "except"
 
 echo getScope3()
 
 proc getScope2(): string =
   case true
   of true:
-    return "bye"
+    "bye"
   else:
     "else"