Skip to content

Commit

Permalink
Fix clippy lints for codegen-client
Browse files Browse the repository at this point in the history
Fix clippy::needless_borrow
  • Loading branch information
Nugine committed Jan 21, 2023
1 parent 63480c2 commit f8bbe8b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ class ProtocolTestGenerator(
checkQueryParams(this, httpRequestTestCase.queryParams)
checkForbidQueryParams(this, httpRequestTestCase.forbidQueryParams)
checkRequiredQueryParams(this, httpRequestTestCase.requireQueryParams)
checkHeaders(this, "&http_request.headers()", httpRequestTestCase.headers)
checkForbidHeaders(this, "&http_request.headers()", httpRequestTestCase.forbidHeaders)
checkRequiredHeaders(this, "&http_request.headers()", httpRequestTestCase.requireHeaders)
checkHeaders(this, "http_request.headers()", httpRequestTestCase.headers)
checkForbidHeaders(this, "http_request.headers()", httpRequestTestCase.forbidHeaders)
checkRequiredHeaders(this, "http_request.headers()", httpRequestTestCase.requireHeaders)
if (protocolSupport.requestBodySerialization) {
// "If no request body is defined, then no assertions are made about the body of the message."
httpRequestTestCase.body.orNull()?.also { body ->
Expand Down

0 comments on commit f8bbe8b

Please sign in to comment.