mirror of
https://github.com/golang/go
synced 2024-11-08 06:16:11 -07:00
cmd/compile: fix typo in rewrite_test.go
insted -> instead
This commit is contained in:
parent
d822ffebc5
commit
8e1a1d0880
@ -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…
Reference in New Issue
Block a user