summary refs log tree commit diff stats
path: root/tests/destructor
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-12-14 01:58:29 -0800
committerGitHub <noreply@github.com>2020-12-14 10:58:29 +0100
commit7e1ae35195c9b1397d569ebb3b3a0d11fdcb16f4 (patch)
tree40648877eb3800ac7f76d4ababf4193c77b7bbd4 /tests/destructor
parent5514b299ebc1de4ef0c1c182d4f21a02e3c2fa90 (diff)
downloadNim-7e1ae35195c9b1397d569ebb3b3a0d11fdcb16f4.tar.gz
testament: error instead of silently ignore invalid targets; remove pointless alias target vs targets; document matrix; DRY (#16343)
* testament: error instead of silently ignore invalid targets
* s/target/targets/
* fix test; refs #16344
* address comments
* Update testament/specs.nim

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
Diffstat (limited to 'tests/destructor')
-rw-r--r--tests/destructor/tmove_objconstr.nim2
-rw-r--r--tests/destructor/tuse_result_prevents_sinks.nim2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/destructor/tmove_objconstr.nim b/tests/destructor/tmove_objconstr.nim
index 16d0daa22..5faaabb8b 100644
--- a/tests/destructor/tmove_objconstr.nim
+++ b/tests/destructor/tmove_objconstr.nim
@@ -8,7 +8,7 @@ test destroyed 0
 4
 Pony is dying!'''
 joinable: false
-target: "C"
+targets: "c"
 """
 
 # bug #4214
diff --git a/tests/destructor/tuse_result_prevents_sinks.nim b/tests/destructor/tuse_result_prevents_sinks.nim
index 6eac5c902..d2777bd97 100644
--- a/tests/destructor/tuse_result_prevents_sinks.nim
+++ b/tests/destructor/tuse_result_prevents_sinks.nim
@@ -1,6 +1,6 @@
 discard """
   output: ""
-  target: "C"
+  targets: "c"
 """
 
 # bug #9594