]> Cypherpunks repositories - gostls13.git/commitdiff
test: fix indentation for -shuffle help text
authorSimon Law <sfllaw@sfllaw.ca>
Thu, 4 Nov 2021 18:14:59 +0000 (11:14 -0700)
committerBryan C. Mills <bcmills@google.com>
Thu, 4 Nov 2021 20:43:07 +0000 (20:43 +0000)
The help text for the go test -shuffle flag is not indented like the
other flags. This patch brings it into alignment.

Fixes #49357

Change-Id: I3f18dc7cd84d5f23099262acf6e2fedccb11379c
Reviewed-on: https://go-review.googlesource.com/c/go/+/361395
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Trust: Bryan C. Mills <bcmills@google.com>
Trust: Michael Matloob <matloob@golang.org>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>

src/cmd/go/alldocs.go
src/cmd/go/internal/test/test.go

index 4420073e52776241e767731b22ba62410b1d3d1c..c9426801c51070b7ea28f3a25cdd02cf5ecf2f3e 100644 (file)
 //         exhaustive tests.
 //
 //     -shuffle off,on,N
-//             Randomize the execution order of tests and benchmarks.
-//             It is off by default. If -shuffle is set to on, then it will seed
-//             the randomizer using the system clock. If -shuffle is set to an
-//             integer N, then N will be used as the seed value. In both cases,
-//             the seed will be reported for reproducibility.
+//         Randomize the execution order of tests and benchmarks.
+//         It is off by default. If -shuffle is set to on, then it will seed
+//         the randomizer using the system clock. If -shuffle is set to an
+//         integer N, then N will be used as the seed value. In both cases,
+//         the seed will be reported for reproducibility.
 //
 //     -timeout d
 //         If a test binary runs longer than duration d, panic.
index 7dca6b531ca33fbe8c5f67014232ed77b1ce80fa..de6525d541cef0c28ffcc905e9b6bab0a9f24206 100644 (file)
@@ -307,11 +307,11 @@ control the execution of any test:
            exhaustive tests.
 
        -shuffle off,on,N
-               Randomize the execution order of tests and benchmarks.
-               It is off by default. If -shuffle is set to on, then it will seed
-               the randomizer using the system clock. If -shuffle is set to an
-               integer N, then N will be used as the seed value. In both cases,
-               the seed will be reported for reproducibility.
+           Randomize the execution order of tests and benchmarks.
+           It is off by default. If -shuffle is set to on, then it will seed
+           the randomizer using the system clock. If -shuffle is set to an
+           integer N, then N will be used as the seed value. In both cases,
+           the seed will be reported for reproducibility.
 
        -timeout d
            If a test binary runs longer than duration d, panic.