瀏覽代碼

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 年之前
父節點
當前提交
ff13aba8fc
共有 1 個文件被更改,包括 0 次插入2 次删除
  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")
-
 }