1
0
mirror of https://github.com/golang/go synced 2024-11-08 05:26:15 -07:00

cmd/compile: fix typo in rewrite_test.go

insted -> instead

Change-Id: Ib8a0423cf99f615976f058468873fb576dd96db6
GitHub-Last-Rev: 8e1a1d0880
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>
This commit is contained in:
Ikko Ashimine 2021-02-25 03:03:45 +00:00 committed by Ian Lance Taylor
parent d822ffebc5
commit 666ad85df4

View File

@ -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)
}
}
}