From dbe6d0b35cc750cb7a4e3a441b592942f2edcfea Mon Sep 17 00:00:00 2001 From: vcaesar Date: Tue, 18 Feb 2020 12:34:10 -0400 Subject: [PATCH] update move mouse smooth test code --- robotgo_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/robotgo_test.go b/robotgo_test.go index 45f5db9..ede3d70 100644 --- a/robotgo_test.go +++ b/robotgo_test.go @@ -48,10 +48,11 @@ func TestMoveMouse(t *testing.T) { } func TestMoveMouseSmooth(t *testing.T) { - MoveMouseSmooth(100, 100) + b := MoveMouseSmooth(100, 100) MilliSleep(10) x, y := GetMousePos() + tt.True(t, b) tt.Equal(t, 100, x) tt.Equal(t, 100, y) }