fix: silence golangci-lint
This commit is contained in:
1 parent
a0a0c43690
commit
ea037debed
1 file changed
+2
-2
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user