diff --git a/robotgo_test.go b/robotgo_test.go index 8e69752..acd2d00 100644 --- a/robotgo_test.go +++ b/robotgo_test.go @@ -149,3 +149,13 @@ func TestBitmap(t *testing.T) { tt.True(t, b) tt.NotNil(t, bit1) } + +func TestAlert(t *testing.T) { + go func() { + MilliSleep(100) + KeyTap("enter") + }() + + i := ShowAlert("t", "msg") + tt.Zero(t, i) +}