Browse Source

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 năm trước cách đây
mục cha
commit
ff13aba8fc
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  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")), y)
 	}
-	b.Errorf("hi")
-
 }