Răsfoiți Sursa

allow `go test -bench=.` to run (#234)

This benchmark had an Errorf at the end, lets remove it so the
benchmarks all run.
Wade Simmons 5 ani în urmă
părinte
comite
ff13aba8fc
1 a modificat fișierele cu 0 adăugiri și 2 ștergeri
  1. 0 2
      hostmap_test.go

+ 0 - 2
hostmap_test.go

@@ -161,6 +161,4 @@ func BenchmarkHostmappromote2(b *testing.B) {
 		m.AddRemote(ip2int(net.ParseIP("10.128.1.1")), g)
 		m.AddRemote(ip2int(net.ParseIP("10.128.1.1")), g)
 		m.AddRemote(ip2int(net.ParseIP("10.128.1.1")), y)
 		m.AddRemote(ip2int(net.ParseIP("10.128.1.1")), y)
 	}
 	}
-	b.Errorf("hi")
-
 }
 }