mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 10:19:01 +00:00
update test code remove windows alert test
This commit is contained in:
parent
8060518620
commit
5485466381
1 changed files with 9 additions and 10 deletions
|
|
@ -13,7 +13,6 @@
|
|||
package robotgo
|
||||
|
||||
import (
|
||||
"log"
|
||||
"testing"
|
||||
|
||||
"github.com/vcaesar/tt"
|
||||
|
|
@ -151,13 +150,13 @@ func TestBitmap(t *testing.T) {
|
|||
tt.NotNil(t, bit1)
|
||||
}
|
||||
|
||||
func TestAlert(t *testing.T) {
|
||||
go func() {
|
||||
MilliSleep(200)
|
||||
KeyTap("enter")
|
||||
log.Println("tap...")
|
||||
}()
|
||||
// func TestAlert(t *testing.T) {
|
||||
// go func() {
|
||||
// MilliSleep(200)
|
||||
// KeyTap("enter")
|
||||
// log.Println("tap...")
|
||||
// }()
|
||||
|
||||
i := ShowAlert("t", "msg")
|
||||
tt.Zero(t, i)
|
||||
}
|
||||
// i := ShowAlert("t", "msg")
|
||||
// tt.Zero(t, i)
|
||||
// }
|
||||
|
|
|
|||
Loading…
Reference in a new issue