From ff13aba8fc31e4480bacdbd12697f7ae9b232c6f Mon Sep 17 00:00:00 2001 From: Wade Simmons Date: Wed, 27 May 2020 16:52:34 -0400 Subject: [PATCH] allow `go test -bench=.` to run (#234) This benchmark had an Errorf at the end, lets remove it so the benchmarks all run. --- hostmap_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/hostmap_test.go b/hostmap_test.go index f6579c7..f2b2abe 100644 --- a/hostmap_test.go +++ b/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") - }