mdns/server_test.go

15 lines
208 B
Go
Raw Normal View History

2014-01-30 02:36:46 +04:00
package mdns
import (
"testing"
)
func TestServer_StartStop(t *testing.T) {
s := makeService(t)
serv, err := NewServer(&Config{s})
if err != nil {
t.Fatalf("err: %v", err)
}
defer serv.Shutdown()
}