aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2021-03-15 17:54:35 +0100
committerTobias Klauser <tobias.klauser@gmail.com>2021-03-15 18:35:58 +0000
commita8d9fb2fcd1fc11b41651e0ea608b3a3e90755b7 (patch)
tree22dbfb193eab0efa93c580a5a37fcb4795866761 /src/cmd
parentc4190fc34dbfe8c7859a91b07ed31a33633d08df (diff)
downloadgo-a8d9fb2fcd1fc11b41651e0ea608b3a3e90755b7.tar.xz
cmd/internal/moddeps: fix typo in TestAllDependencies log messages
s/dependecies/dependencies/ Change-Id: I454668a36192e345965173d76be12cbd5917ea34 Reviewed-on: https://go-review.googlesource.com/c/go/+/301849 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/internal/moddeps/moddeps_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/internal/moddeps/moddeps_test.go b/src/cmd/internal/moddeps/moddeps_test.go
index cba401c896..78c291e203 100644
--- a/src/cmd/internal/moddeps/moddeps_test.go
+++ b/src/cmd/internal/moddeps/moddeps_test.go
@@ -61,7 +61,7 @@ func TestAllDependencies(t *testing.T) {
_, err := cmd.Output()
if err != nil {
t.Errorf("%s: %v\n%s", strings.Join(cmd.Args, " "), err, cmd.Stderr)
- t.Logf("(Run 'go mod vendor' in %s to ensure that dependecies have been vendored.)", m.Dir)
+ t.Logf("(Run 'go mod vendor' in %s to ensure that dependencies have been vendored.)", m.Dir)
}
return
}
@@ -179,7 +179,7 @@ func TestAllDependencies(t *testing.T) {
r.run(t, goBinCopy, "generate", `-run=^//go:generate bundle `, pkgs) // See issue 41409.
advice := "$ cd " + m.Dir + "\n" +
"$ go mod tidy # to remove extraneous dependencies\n" +
- "$ go mod vendor # to vendor dependecies\n" +
+ "$ go mod vendor # to vendor dependencies\n" +
"$ go generate -run=bundle " + pkgs + " # to regenerate bundled packages\n"
if m.Path == "std" {
r.run(t, goBinCopy, "generate", "syscall", "internal/syscall/...") // See issue 43440.