From 10a5a39c23b28761b5ff59dcbe3b7f74b38e9ef1 Mon Sep 17 00:00:00 2001 From: Daryl Ng Date: Wed, 29 Apr 2020 18:49:20 +0800 Subject: [PATCH] Fix error in unit test --- client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client_test.go b/client_test.go index 025e51a..a380eda 100644 --- a/client_test.go +++ b/client_test.go @@ -69,7 +69,7 @@ func TestClient_DoHTTPDoRequestError(t *testing.T) { response, err = client.Do(request) ) - assert.EqualError(t, err, "httpclient: request occurred with errors: Post : unsupported protocol scheme \"\"") + assert.EqualError(t, err, "httpclient: request occurred with errors: Post \"\": unsupported protocol scheme \"\"") assert.Nil(t, response) }