mirror of
https://github.com/walles/moar.git
synced 2024-09-11 20:17:13 +03:00
Fix a linter complaint
Why wasn't this seen until now?
This commit is contained in:
parent
7fd69ad308
commit
b5d86961ed
@ -19,7 +19,7 @@ func TestParseScrollHint(t *testing.T) {
|
|||||||
func TestPageOneInputFile(t *testing.T) {
|
func TestPageOneInputFile(t *testing.T) {
|
||||||
pager, screen, _, formatter, err := pagerFromArgs(
|
pager, screen, _, formatter, err := pagerFromArgs(
|
||||||
[]string{"", "moar_test.go"},
|
[]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
|
return twin.NewFakeScreen(80, 24), nil
|
||||||
},
|
},
|
||||||
false, // stdin is redirected
|
false, // stdin is redirected
|
||||||
|
Loading…
Reference in New Issue
Block a user