steinfletcher / apitest

A simple and extensible behavioural testing library for Go. You can use api test to simplify REST API, HTTP handler and e2e tests.
https://apitest.dev
MIT License
778 stars 55 forks source link

Fix: pointed out to Linter (simplifycompositelit, simplifyrange) #142

Closed nao1215 closed 11 months ago

nao1215 commented 11 months ago

This PR is a very small fix.

Linter, golang's static analysis tool, pointed out simplifycompositelit, simplifyrange. These indicate that the code can be written more concisely.

I have fixed them, but there is another coding style guide that may take precedence. If so, please feel free to close this PR.

nao1215 commented 11 months ago

I decided to fork apitest and proceed with the development. Sorry to be so one-sided, but I am closing this.