commit | 544d36514a8aaaa7309cc398e3e23c1c8fc5e3c8 | [log] [tgz] |
---|---|---|
author | Andrew Bonventre <andybons@golang.org> | Sat Jan 27 22:09:25 2018 -0500 |
committer | Andrew Bonventre <andybons@golang.org> | Tue Feb 13 20:18:22 2018 +0000 |
tree | 091fed61dcf6fa98a510c8d3216c8b05ced23b91 | |
parent | 1124fa300bfe92732765725d504b2711cc25008d [diff] |
cmd/go/internal/test: remove redundant if statement Just return the result of the function call as they are both functionally equivalent. Change-Id: Ia7847c9b018475051bf6f7a7c532b515bd68c024 Reviewed-on: https://go-review.googlesource.com/90375 Run-TryBot: Andrew Bonventre <andybons@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install or load doc/install.html in your web browser for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source or load doc/install-source.html in your web browser for source installation instructions.
Go is the work of hundreds of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.