]> Cypherpunks repositories - gostls13.git/commit
testing: use "exit code" in documentation consistently
authorRodolfo Carvalho <rhcarvalho@gmail.com>
Tue, 17 Mar 2020 10:41:45 +0000 (10:41 +0000)
committerIan Lance Taylor <iant@golang.org>
Tue, 17 Mar 2020 20:48:23 +0000 (20:48 +0000)
commit0eeec4f25dc6eccc4e76ab91053e2b4823c72714
tree1db4bfb0e619e5f1889c0f2863e50b94c8516c72
parentf4ddc00345af8ffc77fabe2f6f21d570288159c1
testing: use "exit code" in documentation consistently

The documentation for m.Run says it returns an "exit code" to pass to
os.Exit. The argument to os.Exit is named "code".

While "exit code", "exit status" and "exit status code" are all valid ways
to refer to the same concept, prefer to stick to one form for consistency
and to avoid confusing users.

Change-Id: If76ee3fab5cc99c79e05ac1a4e413790a9c93d60
GitHub-Last-Rev: 85a081d2f03c2cf9e8e519916986c59c86aebf57
GitHub-Pull-Request: golang/go#37899
Reviewed-on: https://go-review.googlesource.com/c/go/+/223778
Reviewed-by: Gabriel Aszalos <gabriel.aszalos@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Gabriel Aszalos <gabriel.aszalos@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/testing/testing.go