Skip to content

Commit

Permalink
chore: fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Broderick-Westrope committed Dec 25, 2024
1 parent 665d57c commit 9d17bc7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion internal/tui/views/menu_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ func TestMenuFormCompletion(t *testing.T) {
return 1
case tui.ModeUltra:
return 2
case tui.ModeMenu:
fallthrough
case tui.ModeLeaderboard:
fallthrough
default:
return 0
}
Expand Down Expand Up @@ -89,7 +93,8 @@ func TestMenuFormCompletion(t *testing.T) {
tm.Send(tea.KeyMsg{Type: tea.KeyEnter})
time.Sleep(10 * time.Millisecond)

// TODO(fix): The following msg send should not be necessary. The SwitchModeMsg should be sent automatically when the form is completed.
// TODO(fix): The following msg send should not be necessary.
// The SwitchModeMsg should be sent automatically when the form is completed.
tm.Send(tea.KeyMsg{Type: tea.KeyUp})
time.Sleep(10 * time.Millisecond)

Expand Down

0 comments on commit 9d17bc7

Please sign in to comment.