From e877eab0333338dbeb10f5bbc64d08a8cac75e1e Mon Sep 17 00:00:00 2001 From: John Guo Date: Wed, 15 Sep 2021 21:21:29 +0800 Subject: [PATCH] fix ci issue --- net/gsmtp/gsmtp_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/gsmtp/gsmtp_test.go b/net/gsmtp/gsmtp_test.go index 9688a9fae..361cac1ca 100644 --- a/net/gsmtp/gsmtp_test.go +++ b/net/gsmtp/gsmtp_test.go @@ -34,7 +34,7 @@ func TestAddress(t *testing.T) { } func TestFrom(t *testing.T) { - errMessage := "from is invalid" + errMessage := `invalid parameter "from"` errValues := []string{ "", @@ -55,7 +55,7 @@ func TestFrom(t *testing.T) { } func TestTos(t *testing.T) { - errMessage := "tos if invalid" + errMessage := `invalid parameter "tos"` errValues := []string{ "",