fix: silence golangci-lint

This commit is contained in:
2025-12-04 17:35:49 +01:00
parent a0a0c43690
commit ea037debed

View File

@@ -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 {