Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
raulb committed Jan 31, 2025
1 parent f1b5e5e commit fa36b33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/conduit/cecdysis/decorators_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ func TestHandleError(t *testing.T) {
os.Stderr = oldStderr

var buf bytes.Buffer
io.Copy(&buf, r)
_, err := io.Copy(&buf, r)
is.NoErr(err)

is.Equal(result, tc.expected)
is.Equal(strings.TrimSpace(buf.String()), tc.expectedStderr)
Expand Down

0 comments on commit fa36b33

Please sign in to comment.