mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-02 23:23:55 +00:00
update test code remove windows alert test
This commit is contained in:
parent
8060518620
commit
5485466381
@ -13,7 +13,6 @@
|
|||||||
package robotgo
|
package robotgo
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"log"
|
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/vcaesar/tt"
|
"github.com/vcaesar/tt"
|
||||||
@ -151,13 +150,13 @@ func TestBitmap(t *testing.T) {
|
|||||||
tt.NotNil(t, bit1)
|
tt.NotNil(t, bit1)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestAlert(t *testing.T) {
|
// func TestAlert(t *testing.T) {
|
||||||
go func() {
|
// go func() {
|
||||||
MilliSleep(200)
|
// MilliSleep(200)
|
||||||
KeyTap("enter")
|
// KeyTap("enter")
|
||||||
log.Println("tap...")
|
// log.Println("tap...")
|
||||||
}()
|
// }()
|
||||||
|
|
||||||
i := ShowAlert("t", "msg")
|
// i := ShowAlert("t", "msg")
|
||||||
tt.Zero(t, i)
|
// tt.Zero(t, i)
|
||||||
}
|
// }
|
||||||
|
Loading…
Reference in New Issue
Block a user