fix: silence golangci-lint
This commit is contained in:
@@ -45,11 +45,11 @@ func TestPartTwo(t *testing.T) {
|
|||||||
|
|
||||||
PartTwo(input)
|
PartTwo(input)
|
||||||
|
|
||||||
w.Close()
|
_ = w.Close()
|
||||||
os.Stdout = oldStdout
|
os.Stdout = oldStdout
|
||||||
|
|
||||||
var buffer bytes.Buffer
|
var buffer bytes.Buffer
|
||||||
buffer.ReadFrom(r)
|
_, _ = buffer.ReadFrom(r)
|
||||||
got := strings.TrimSpace(buffer.String())
|
got := strings.TrimSpace(buffer.String())
|
||||||
|
|
||||||
if got != expected {
|
if got != expected {
|
||||||
|
|||||||
Reference in New Issue
Block a user