From 1144d8ca2f752daa7f2a4190f7dd645edd14b5ca Mon Sep 17 00:00:00 2001 From: Mat Ryer Date: Fri, 7 Jul 2017 16:15:27 +0100 Subject: [PATCH] fixed typos --- package/moq/moq_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/moq/moq_test.go b/package/moq/moq_test.go index cb77a1c..1fad8df 100644 --- a/package/moq/moq_test.go +++ b/package/moq/moq_test.go @@ -135,7 +135,7 @@ func TestChannelNames(t *testing.T) { } for _, str := range strs { if !strings.Contains(s, str) { - t.Errorf("expected by missing: \"%s\"", str) + t.Errorf("expected but missing: \"%s\"", str) } } } @@ -157,7 +157,7 @@ func TestImports(t *testing.T) { } for _, str := range strs { if !strings.Contains(s, str) { - t.Errorf("expected by missing: \"%s\"", str) + t.Errorf("expected but missing: \"%s\"", str) } if len(strings.Split(s, str)) > 2 { t.Errorf("more than one: \"%s\"", str)