Skip to content

Commit

Permalink
fixed a missing return check
Browse files Browse the repository at this point in the history
  • Loading branch information
bgn42 committed Dec 14, 2023
1 parent 1306f46 commit 97b392d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/eventlist/cmd/eventlist/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func Test_infoOpt(t *testing.T) { //nolint:golint,paralleltest
defer restore()
r, w, _ := os.Pipe()
os.Stdout = w
infoOpt(flag.CommandLine, tt.args.sopt, tt.args.lopt, tt.args.arg)
_ = infoOpt(flag.CommandLine, tt.args.sopt, tt.args.lopt, tt.args.arg)
w.Close()
buf, _ := io.ReadAll(r)
if string(buf) != tt.want {
Expand Down

0 comments on commit 97b392d

Please sign in to comment.