From ea037debed210e928f0032d4287452bc432f4685 Mon Sep 17 00:00:00 2001 From: Kharec Date: Thu, 4 Dec 2025 17:35:49 +0100 Subject: [PATCH] fix: silence golangci-lint --- internal/2018/DayTwo/code_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/2018/DayTwo/code_test.go b/internal/2018/DayTwo/code_test.go index 15f99b8..5413e92 100644 --- a/internal/2018/DayTwo/code_test.go +++ b/internal/2018/DayTwo/code_test.go @@ -45,11 +45,11 @@ func TestPartTwo(t *testing.T) { PartTwo(input) - w.Close() + _ = w.Close() os.Stdout = oldStdout var buffer bytes.Buffer - buffer.ReadFrom(r) + _, _ = buffer.ReadFrom(r) got := strings.TrimSpace(buffer.String()) if got != expected {