1
1
mirror of https://github.com/walles/moar.git synced 2024-07-07 08:36:29 +03:00

Fix a linter complaint

Why wasn't this seen until now?
This commit is contained in:
Johan Walles 2024-02-16 12:50:58 +01:00
parent 7fd69ad308
commit b5d86961ed

View File

@ -19,7 +19,7 @@ func TestParseScrollHint(t *testing.T) {
func TestPageOneInputFile(t *testing.T) {
pager, screen, _, formatter, err := pagerFromArgs(
[]string{"", "moar_test.go"},
func(mouseMode twin.MouseMode, terminalColorCount twin.ColorType) (twin.Screen, error) {
func(_ twin.MouseMode, _ twin.ColorType) (twin.Screen, error) {
return twin.NewFakeScreen(80, 24), nil
},
false, // stdin is redirected