From 9a67176719c323240fe4dad6d4cd298b1eaa9283 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 25 Feb 2020 20:17:49 +0530 Subject: [PATCH] Fix scrolling selection tests --- kitty_tests/mouse.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kitty_tests/mouse.py b/kitty_tests/mouse.py index 90389379a..22b75e6e7 100644 --- a/kitty_tests/mouse.py +++ b/kitty_tests/mouse.py @@ -184,13 +184,13 @@ class TestMouse(BaseTest): # scrolling init() - press(x=1) - scroll(x=1.6) + press(x=1.6) + scroll(x=1) self.ae(sel(), 'LMNO12') scroll(x=1) self.ae(sel(), 'GHIJKLMNO12') scroll(x=1, up=False) self.ae(sel(), 'LMNO12') - scroll(x=2, up=False) - self.ae(sel(), '23') + scroll(x=2.6, up=False) + self.ae(sel(), '3') release()