]> Cypherpunks repositories - gostls13.git/commit
cmd/go: remove a redundant HasExec check in TestScript/README
authorBryan C. Mills <bcmills@google.com>
Tue, 2 May 2023 16:43:04 +0000 (12:43 -0400)
committerBryan Mills <bcmills@google.com>
Thu, 4 May 2023 16:22:43 +0000 (16:22 +0000)
commitca49b8d7af25a51309af277c27724b01bd80453f
treedb41c17ec6f466e51f7b760799e78c538fa0ff33
parent3a872a2262de47cb921e3ae3da6e4487ba652129
cmd/go: remove a redundant HasExec check in TestScript/README

The test checks testenv.HasExec right before calling testenv.Command,
but testenv.Command already skips the test if HasExec is false.

Change-Id: I04716bf823a1b76640394a964973ff34c65afb1f
Reviewed-on: https://go-review.googlesource.com/c/go/+/491658
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
src/cmd/go/scriptreadme_test.go