Fix typos in msg_test.go

This commit is contained in:
Winni Neessen 2022-03-20 18:30:29 +01:00
parent 3afc3f2c35
commit 663954f370
Signed by: wneessen
GPG key ID: 5F3AF39B820C119D

View file

@ -1222,10 +1222,10 @@ func TestMsg_appendFile(t *testing.T) {
}
fl = m.appendFile(fl, f, nil)
if len(fl) != 1 {
t.Errorf("appendFile() failed. Expected lenght: %d, got: %d", 1, len(fl))
t.Errorf("appendFile() failed. Expected length: %d, got: %d", 1, len(fl))
}
fl = m.appendFile(fl, f, nil)
if len(fl) != 2 {
t.Errorf("appendFile() failed. Expected lenght: %d, got: %d", 2, len(fl))
t.Errorf("appendFile() failed. Expected length: %d, got: %d", 2, len(fl))
}
}