Remove unused ports

This commit is contained in:
Bel LaPointe
2018-10-09 09:07:48 -06:00
parent 798d451103
commit e4785e6a05
4 changed files with 13 additions and 19 deletions

View File

@@ -8,12 +8,10 @@ import (
"github.com/golang-collections/go-datastructures/queue"
)
const testmport = ":13152"
func Test_Monitor(t *testing.T) {
numItems := 2
completed := make(chan struct{}, numItems)
m, err := New(testmport, func(string) { completed <- struct{}{} })
m, err := New(func(string) { completed <- struct{}{} })
if err != nil {
t.Fatalf("cannot create new monitor: %v", err)
}