From defe668a85cc61785a2f7baa4aa1bbb3c9691362 Mon Sep 17 00:00:00 2001 From: Marcel Oenning Date: Wed, 25 Aug 2021 20:11:44 +0200 Subject: [PATCH] chore: add unit test for new method Signed-off-by: Marcel Oenning --- client/response_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client/response_test.go b/client/response_test.go index 5dc5db83..5d4694ee 100644 --- a/client/response_test.go +++ b/client/response_test.go @@ -37,5 +37,6 @@ func TestResponse(t *testing.T) { assert.EqualValues(t, under.StatusCode, resp.Code()) assert.Equal(t, under.Status, resp.Message()) assert.Equal(t, "blah blah", resp.GetHeader("blah")) + assert.Equal(t, []string{"blah blah"}, resp.GetHeaders("blah")) assert.Equal(t, under.Body, resp.Body()) }