From ad0b42162f79e2bbb893fc7657360c42902a7efa Mon Sep 17 00:00:00 2001 From: Jakub Sobon Date: Sat, 30 Mar 2019 01:46:55 -0400 Subject: [PATCH] Fixing termdash_test. --- termdash_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/termdash_test.go b/termdash_test.go index 827ee5e..9058860 100644 --- a/termdash_test.go +++ b/termdash_test.go @@ -241,7 +241,7 @@ func TestRun(t *testing.T) { events: []terminalapi.Event{ &terminalapi.Mouse{Position: image.Point{0, 0}, Button: mouse.ButtonLeft}, }, - wantProcessed: 3, + wantProcessed: 2, want: func(size image.Point) *faketerm.Terminal { ft := faketerm.MustNew(size) @@ -359,7 +359,7 @@ func TestRun(t *testing.T) { events: []terminalapi.Event{ &terminalapi.Mouse{Position: image.Point{0, 0}, Button: mouse.ButtonWheelUp}, }, - wantProcessed: 4, + wantProcessed: 3, after: func(eh *eventHandlers) error { want := terminalapi.Mouse{Position: image.Point{0, 0}, Button: mouse.ButtonWheelUp} if diff := pretty.Compare(want, eh.mouseSub.get()); diff != "" {