xmpp/filter_test.go
changeset 153 bbd4166df95d
parent 136 f35f853a52b6
--- a/xmpp/filter_test.go	Sun Sep 22 17:43:34 2013 -0500
+++ b/xmpp/filter_test.go	Sat Sep 28 13:02:17 2013 -0600
@@ -34,6 +34,7 @@
 func filterN(numFilts int, t *testing.T) {
 	add := make(chan Filter)
 	in := make(chan Stanza)
+	defer close(in)
 	out := make(chan Stanza)
 	go filterMgr(add, in, out)
 	for i := 0; i < numFilts; i++ {