From bba9c36214106f348ccc28e817db3e52c141f3ad Mon Sep 17 00:00:00 2001 From: Fedor Korotkiy Date: Sun, 12 Mar 2023 17:27:37 +0400 Subject: [PATCH] Fix linter error --- tools/testtool/commands/test_submission_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testtool/commands/test_submission_test.go b/tools/testtool/commands/test_submission_test.go index 36b7340..ae5365a 100644 --- a/tools/testtool/commands/test_submission_test.go +++ b/tools/testtool/commands/test_submission_test.go @@ -42,7 +42,7 @@ func doTestSubmission(t *testing.T, studentRepo, privateRepo, problem string) er go func() { s := bufio.NewScanner(pr) for s.Scan() { - io.WriteString(oldF, fmt.Sprintf("%s%s\n", prefix, s.Text())) + _, _ = io.WriteString(oldF, fmt.Sprintf("%s%s\n", prefix, s.Text())) } }()