fixed typos
This commit is contained in:
parent
4a63da4c32
commit
1144d8ca2f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user