summary refs log tree commit diff stats
path: root/doc/testament.rst
diff options
context:
space:
mode:
authorquantimnot <54247259+quantimnot@users.noreply.github.com>2022-05-23 00:12:34 -0400
committerGitHub <noreply@github.com>2022-05-23 06:12:34 +0200
commita8426fc7890f1bea1c507ddb2fe42662f7a574f8 (patch)
tree15f2edfa84529e613f0be349be34563a5c0199a9 /doc/testament.rst
parent63cca93ea9bcab3c1fea39ff3789fd3a656d2db2 (diff)
downloadNim-a8426fc7890f1bea1c507ddb2fe42662f7a574f8.tar.gz
Fix default testament target in docs and cli help (#19796)
Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
Diffstat (limited to 'doc/testament.rst')
-rw-r--r--doc/testament.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/testament.rst b/doc/testament.rst
index 5590cc6d7..427a7ff71 100644
--- a/doc/testament.rst
+++ b/doc/testament.rst
@@ -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 `;`