mirror of
https://github.com/nim-lang/Nim.git
synced 2026-05-03 12:34:44 +00:00
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>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
discard """
|
||||
target: cpp
|
||||
targets: "cpp"
|
||||
action: run
|
||||
exitcode: 0
|
||||
"""
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
discard """
|
||||
targets: '''c c++ js'''
|
||||
targets: "c cpp js"
|
||||
"""
|
||||
|
||||
import hashes
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
discard """
|
||||
target: "c js"
|
||||
targets: "c js"
|
||||
"""
|
||||
|
||||
import times, strutils, unittest
|
||||
|
||||
Reference in New Issue
Block a user