From 2f2ed595f62511604c456fa73bd052c46b5c2861 Mon Sep 17 00:00:00 2001 From: vcaesar Date: Sun, 27 Nov 2022 18:08:51 -0800 Subject: [PATCH] Fixed: fixed test --- robotgo_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/robotgo_test.go b/robotgo_test.go index 31d14b1..f5ff861 100644 --- a/robotgo_test.go +++ b/robotgo_test.go @@ -194,7 +194,7 @@ func TestImage(t *testing.T) { func TestPs(t *testing.T) { id, err := Pids() tt.Not(t, "[]", id) - tt.IsType(t, "[]int32", id) + tt.IsType(t, "[]int", id) tt.Nil(t, err) ps, e := Process() @@ -217,7 +217,7 @@ func TestPs(t *testing.T) { id, err = FindIds(n1[0]) tt.Not(t, "[]", id) - tt.IsType(t, "[]int32", id) + tt.IsType(t, "[]int", id) tt.Nil(t, err) if len(id) > 0 {