summary refs log tree commit diff stats
path: root/tests/compiler
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/compiler
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/compiler')
-rw-r--r--tests/compiler/tcppCompileToNamespace.nim1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/compiler/tcppCompileToNamespace.nim b/tests/compiler/tcppCompileToNamespace.nim
index 1d0977236..4e895c38b 100644
--- a/tests/compiler/tcppCompileToNamespace.nim
+++ b/tests/compiler/tcppCompileToNamespace.nim
@@ -1,6 +1,5 @@
 discard """
 cmd: "nim cpp --cppCompileToNamespace:foo $options -r $file"
-target: cpp
 """
 
 # Theoretically nim could just ignore the flag cppCompileToNamespace