mirror of
https://github.com/simon-ding/polaris.git
synced 2026-02-26 21:50:48 +08:00
16 lines
213 B
Go
16 lines
213 B
Go
package notifier
|
|
|
|
import "testing"
|
|
|
|
func TestServerChan(t *testing.T) {
|
|
s, err := NewServerChanClient(``)
|
|
if err != nil {
|
|
t.Error(err)
|
|
return
|
|
}
|
|
err = s.SendMsg("test")
|
|
if err != nil {
|
|
t.Error(err)
|
|
}
|
|
}
|