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

cmd/compile: fix typo in rewrite_test.go

insted -> instead
This commit is contained in:
Ikko Ashimine 2021-02-25 11:46:20 +09:00 committed by GitHub
parent d822ffebc5
commit 8e1a1d0880
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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