From 7155a4d88af55066b8066e16ac51ca40b2f165db Mon Sep 17 00:00:00 2001 From: Brandon Croft Date: Wed, 7 Dec 2022 13:56:17 -0700 Subject: [PATCH] run make fmt --- tfe_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tfe_test.go b/tfe_test.go index 1fe614cf8..d39eaaeb4 100644 --- a/tfe_test.go +++ b/tfe_test.go @@ -119,14 +119,14 @@ func Test_unmarshalResponse(t *testing.T) { func Test_EncodeQueryParams(t *testing.T) { t.Run("with no listOptions and therefore no include field defined", func(t *testing.T) { urlVals := map[string][]string{ - "include": []string{}, + "include": {}, } requestURLquery := encodeQueryParams(urlVals) assert.Equal(t, requestURLquery, "") }) t.Run("with listOptions setting multiple include options", func(t *testing.T) { urlVals := map[string][]string{ - "include": []string{"workspace", "cost_estimate"}, + "include": {"workspace", "cost_estimate"}, } requestURLquery := encodeQueryParams(urlVals) assert.Equal(t, requestURLquery, "include=workspace%2Ccost_estimate")