]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: fix typo in rewrite_test.go
authorIkko Ashimine <eltociear@gmail.com>
Thu, 25 Feb 2021 03:03:45 +0000 (03:03 +0000)
committerIan Lance Taylor <iant@golang.org>
Thu, 25 Feb 2021 04:55:35 +0000 (04:55 +0000)
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>

src/cmd/compile/internal/ssa/rewrite_test.go

index 6fe429e85a67f3c509f1cdc5dafdbfdb55027882..272b080d8810648dbda170206019e562e27b9aeb 100644 (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)
                }
        }
 }