aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIkko Ashimine <eltociear@gmail.com>2021-02-25 03:03:45 +0000
committerIan Lance Taylor <iant@golang.org>2021-02-25 04:55:35 +0000
commit666ad85df450e3a54a77954f97423980b6ac064f (patch)
tree69dc30c7602159cc10e4e7498221f818fa2eda80
parentd822ffebc59d27190ac145a71c726dad35769225 (diff)
downloadgo-666ad85df450e3a54a77954f97423980b6ac064f.tar.gz
go-666ad85df450e3a54a77954f97423980b6ac064f.zip
cmd/compile: fix typo in rewrite_test.go
insted -> instead Change-Id: Ib8a0423cf99f615976f058468873fb576dd96db6 GitHub-Last-Rev: 8e1a1d08807a35c55d65a2e3f8bb28418a43b3a8 GitHub-Pull-Request: golang/go#44598 Reviewed-on: https://go-review.googlesource.com/c/go/+/296309 Reviewed-by: Keith Randall <khr@golang.org> Trust: Josh Bleecher Snyder <josharian@gmail.com> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org>
-rw-r--r--src/cmd/compile/internal/ssa/rewrite_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/ssa/rewrite_test.go b/src/cmd/compile/internal/ssa/rewrite_test.go
index 6fe429e85a..272b080d88 100644
--- a/src/cmd/compile/internal/ssa/rewrite_test.go
+++ b/src/cmd/compile/internal/ssa/rewrite_test.go
@@ -13,7 +13,7 @@ func TestMove(t *testing.T) {
copy(x[1:], x[:])
for i := 1; i < len(x); i++ {
if int(x[i]) != i {
- t.Errorf("Memmove got converted to OpMove in alias-unsafe way. Got %d insted of %d in position %d", int(x[i]), i, i+1)
+ t.Errorf("Memmove got converted to OpMove in alias-unsafe way. Got %d instead of %d in position %d", int(x[i]), i, i+1)
}
}
}