1
0
mirror of https://github.com/golang/go synced 2024-10-03 06:21:21 -06:00

cmd/go: fix error message

Change-Id: I440435927fc9f417d81ed4e8656a73787bf0968a
Reviewed-on: https://go-review.googlesource.com/8801
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Dmitry Vyukov 2015-04-11 21:25:35 +03:00
parent d765e41c62
commit 985461fd9e

View File

@ -170,7 +170,7 @@ func testFlags(args []string) (packageNames, passToTest []string) {
case "set", "count", "atomic": case "set", "count", "atomic":
testCoverMode = value testCoverMode = value
default: default:
fatalf("invalid flag argument for -cover: %q", value) fatalf("invalid flag argument for -covermode: %q", value)
} }
testCover = true testCover = true
case "outputdir": case "outputdir":