Skip to content

Commit 5500d15

Browse files
committed
x/subtest: don't name unused parameters (revive)
x/subtest/example_test.go:47:23: unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive) func startFakeService(t subtest.TestContext) string { ^ Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent f5aded3 commit 5500d15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x/subtest/example_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func ExampleRun_tableTest() {
4444
}
4545
}
4646

47-
func startFakeService(t subtest.TestContext) string {
47+
func startFakeService(_ subtest.TestContext) string {
4848
return "url"
4949
}
5050

0 commit comments

Comments
 (0)