fixed typos

This commit is contained in:
Mat Ryer 2017-07-07 16:15:27 +01:00
parent 4a63da4c32
commit 1144d8ca2f

View File

@ -135,7 +135,7 @@ func TestChannelNames(t *testing.T) {
} }
for _, str := range strs { for _, str := range strs {
if !strings.Contains(s, str) { 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 { for _, str := range strs {
if !strings.Contains(s, str) { 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 { if len(strings.Split(s, str)) > 2 {
t.Errorf("more than one: \"%s\"", str) t.Errorf("more than one: \"%s\"", str)