fix typo that caused test failure in dht_test.go
Jeromy committed
Sep 18, 2014 at 18:32 UTC
d326fc61e43996e3c6e0369973201c590b1af037
1 file changed
+1
-1
routing/dht/dht_test.go
+1
-1
@@ -287,7 +287,7 @@ func TestFindPeer(t *testing.T) {
287
u.Debug = false
288
289
addrs, peers, dhts := setupDHTS(4, t)
290
- go func() {
290
+ defer func() {
291
for i := 0; i < 4; i++ {
292
dhts[i].Halt()
293
}