mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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:
parent
d822ffebc5
commit
666ad85df4
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ func TestMove(t *testing.T) {
|
||||||
copy(x[1:], x[:])
|
copy(x[1:], x[:])
|
||||||
for i := 1; i < len(x); i++ {
|
for i := 1; i < len(x); i++ {
|
||||||
if int(x[i]) != 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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue