Fix linter issues for golangci-lint 1.54.2

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
This commit is contained in:
Kohei Tokunaga
2023-10-03 21:56:47 +09:00
parent 28fa2751f2
commit 6169433b6b
11 changed files with 11 additions and 6 deletions

View File

@@ -143,6 +143,7 @@ func TestCopy(t *testing.T) {
}
for _, testcase := range testcases {
testcase := testcase
t.Run(testcase.name, func(t *testing.T) {
err := Copy(context.Background(),
&testcase.writer,