diff --git a/Makefile b/Makefile index 13ab16d6..f7459b7c 100644 --- a/Makefile +++ b/Makefile @@ -33,8 +33,6 @@ ruby: openapi-generator-cli generate -i tmp/compiled.yaml -g ruby -o clients/ruby -c ./openapi-generator/ruby_lang.yaml go: openapi-generator-cli generate -i tmp/compiled.yaml -g go -o clients/go -c ./openapi-generator/go_lang.yaml - go install golang.org/x/tools/cmd/goimports@latest - goimports -w clients/go cd clients/go && go mod tidy typescript: openapi-generator-cli generate -i tmp/compiled.yaml -g typescript-fetch -o clients/typescript -c ./openapi-generator/typescript_lang.yaml diff --git a/clients/go/test/api_locales_test.go b/clients/go/test/api_locales_test.go index 9c78f87e..c8c515a2 100644 --- a/clients/go/test/api_locales_test.go +++ b/clients/go/test/api_locales_test.go @@ -105,7 +105,7 @@ func Test_phrase_LocalesApiService(t *testing.T) { requestUrl := httpRes.Request.URL - require.Nil(t, err) + require.NotNil(t, err) require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) assert.Equal(t, "/projects/project_id_example/locales/locale_id", requestUrl.Path)