mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 05:50:30 +00:00
Fix default testament target in docs and cli help (#19796)
Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
This commit is contained in:
@@ -36,7 +36,7 @@ Options
|
||||
(for debugging)
|
||||
--failing Only show failing/ignored tests
|
||||
--targets:"c cpp js objc"
|
||||
Run tests for specified targets (default: all)
|
||||
Run tests for specified targets (default: c)
|
||||
--nim:path Use a particular nim executable (default: $PATH/nim)
|
||||
--directory:dir Change to directory dir before reading the tests
|
||||
or doing anything else.
|
||||
@@ -164,7 +164,7 @@ Example "template" **to edit** and write a Testament unittest:
|
||||
# Timeout seconds to run the test. Fractional values are supported.
|
||||
timeout: 1.5
|
||||
|
||||
# Targets to run the test into (c, cpp, objc, js).
|
||||
# Targets to run the test into (c, cpp, objc, js). Defaults to c.
|
||||
targets: "c js"
|
||||
|
||||
# flags with which to run the test, delimited by `;`
|
||||
|
||||
@@ -54,7 +54,7 @@ Options:
|
||||
--verbose print commands (compiling and running tests)
|
||||
--simulate see what tests would be run but don't run them (for debugging)
|
||||
--failing only show failing/ignored tests
|
||||
--targets:"c cpp js objc" run tests for specified targets (default: all)
|
||||
--targets:"c cpp js objc" run tests for specified targets (default: c)
|
||||
--nim:path use a particular nim executable (default: $$PATH/nim)
|
||||
--directory:dir Change to directory dir before reading the tests or doing anything else.
|
||||
--colors:on|off Turn messages coloring on|off.
|
||||
|
||||
Reference in New Issue
Block a user