goose: clean up comments into full sentences

Capitalize and end with period where missing.

Reviewed-by: Chris Lewis <cflewis@google.com>
This commit is contained in:
Ross Light
2018-04-27 17:40:40 -04:00
parent 3345599aaf
commit 13698e656a
4 changed files with 21 additions and 22 deletions

View File

@@ -25,7 +25,7 @@ func TestGoose(t *testing.T) {
t.Fatal(err)
}
const testRoot = "testdata"
testdataEnts, err := ioutil.ReadDir(testRoot) // ReadDir sorts by name
testdataEnts, err := ioutil.ReadDir(testRoot) // ReadDir sorts by name.
if err != nil {
t.Fatal(err)
}
@@ -473,7 +473,7 @@ func runGo(bctx *build.Context, args ...string) error {
} else {
c.Env = append(c.Env, "CGO_ENABLED=0")
}
// TODO(someday): set -compiler flag if needed.
// TODO(someday): Set -compiler flag if needed.
out, err := c.CombinedOutput()
if err != nil {
if len(out) > 0 {