mdns/server_test.go
2014-01-29 14:36:46 -08:00

15 lines
208 B
Go

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()
}