From 663954f370d17b497d4c8dec9997ea774d3436b0 Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Sun, 20 Mar 2022 18:30:29 +0100 Subject: [PATCH] Fix typos in msg_test.go --- msg_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/msg_test.go b/msg_test.go index c6b16e5..a71608e 100644 --- a/msg_test.go +++ b/msg_test.go @@ -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)) } }