Fix golangci-lint issues
This commit is contained in:
@ -26,7 +26,7 @@ func TestPrintf(t *testing.T) {
|
||||
|
||||
// Read captured output
|
||||
var buf bytes.Buffer
|
||||
io.Copy(&buf, r)
|
||||
_, _ = io.Copy(&buf, r)
|
||||
output := buf.String()
|
||||
|
||||
// Check output format: "INFO file.go:function message"
|
||||
@ -64,7 +64,7 @@ func TestDebugfWithDebugEnabled(t *testing.T) {
|
||||
|
||||
// Read captured output
|
||||
var buf bytes.Buffer
|
||||
io.Copy(&buf, r)
|
||||
_, _ = io.Copy(&buf, r)
|
||||
output := buf.String()
|
||||
|
||||
// Check output format: "DEBUG file.go:function message"
|
||||
@ -98,7 +98,7 @@ func TestDebugfWithDebugDisabled(t *testing.T) {
|
||||
|
||||
// Read captured output
|
||||
var buf bytes.Buffer
|
||||
io.Copy(&buf, r)
|
||||
_, _ = io.Copy(&buf, r)
|
||||
output := buf.String()
|
||||
|
||||
// Should be empty when debug is disabled
|
||||
|
Reference in New Issue
Block a user