]> Cypherpunks repositories - gostls13.git/commit
test: clean up run.go
authorDmitri Shuralyov <dmitshur@golang.org>
Sun, 9 Feb 2020 06:40:45 +0000 (01:40 -0500)
committerDmitri Shuralyov <dmitshur@golang.org>
Mon, 24 Feb 2020 16:13:21 +0000 (16:13 +0000)
commit821b7994826cf8f9f5f66ca35339ffe088dba02d
tree5b507fe8f25a5ffff82789abfc13e4d01ad82728
parent90c71cec5bca21e8c7e984fffbd0ad62d7067f5d
test: clean up run.go

• Inline check function because it's more readable.
• Delete toolPath because it was unused.
• Use strings.TrimPrefix because it's simpler.
• Remove out variable because its value was unused.
• Rename serr to err because it's more consistent.

Change-Id: I084fb4f8b399578834d5eea29a673c386cf3a357
Reviewed-on: https://go-review.googlesource.com/c/go/+/218701
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Hajime Hoshi <hajimehoshi@gmail.com>
test/run.go