mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-05-29 21:43:55 +00:00
Fixed: fixed test
This commit is contained in:
parent
5079db2df7
commit
2f2ed595f6
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user