We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20a3eec commit 1c07aaaCopy full SHA for 1c07aaa
templates/swift/tests/client/method.mustache
@@ -1,4 +1,5 @@
1
-{{#hasResponse}}let response{{#isGeneric}}: Response<{{{returnType}}}<Hit>>{{/isGeneric}} = {{/hasResponse}}{{> tests/method}}
+{{#hasResponse}}let response{{#isGeneric}}: Response<{{{returnType}}}<Hit>>{{/isGeneric}} = {{> tests/method}}{{/hasResponse}}
2
+{{^hasResponse}}let _{{#isGeneric}}: Response<{{{returnType}}}<Hit>>{{/isGeneric}} = {{> tests/method}}{{/hasResponse}}
3
{{^isHelper}}
4
{{^isBenchmark}}
5
let responseBodyData = try XCTUnwrap(response.bodyData)
0 commit comments