Remove unused ports
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user