Skip to content

Commit

Permalink
Fix staticcheck error about possible nil dereference. (#492)
Browse files Browse the repository at this point in the history
  • Loading branch information
aalexand authored Oct 22, 2019
1 parent 35da2c4 commit 2e3a5de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/driver/interactive_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ func TestInteractiveCommands(t *testing.T) {
// Get report output format
c := pprofCommands[cmd[0]]
if c == nil {
t.Errorf("unexpected nil command")
t.Fatalf("unexpected nil command")
}
vars = applyCommandOverrides(cmd[0], c.format, vars)

Expand Down

0 comments on commit 2e3a5de

Please sign in to comment.