diff --git a/msg_test.go b/msg_test.go index 11c9010..7fb5bbe 100644 --- a/msg_test.go +++ b/msg_test.go @@ -5432,6 +5432,7 @@ func TestMsg_WriteTo(t *testing.T) { } }) } + func TestMsg_Write(t *testing.T) { message := testMessage(t) if _, err := message.Write(io.Discard); err != nil {