From 8e1a1d08807a35c55d65a2e3f8bb28418a43b3a8 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Thu, 25 Feb 2021 11:46:20 +0900 Subject: [PATCH] cmd/compile: fix typo in rewrite_test.go insted -> instead --- src/cmd/compile/internal/ssa/rewrite_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/compile/internal/ssa/rewrite_test.go b/src/cmd/compile/internal/ssa/rewrite_test.go index 6fe429e85a..272b080d88 100644 --- a/src/cmd/compile/internal/ssa/rewrite_test.go +++ b/src/cmd/compile/internal/ssa/rewrite_test.go @@ -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) } } }