From 3aaa9f3d3c5d5b59b6629897111b43c5caeadccc Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Mon, 27 May 2019 23:23:59 -0400 Subject: test setup failure fixed --- query_test.go | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/query_test.go b/query_test.go index 28fb32d..3782165 100644 --- a/query_test.go +++ b/query_test.go @@ -25,10 +25,7 @@ func Test_parseQueryOut(t *testing.T) { t.Errorf("Couldn't set up test: %v\n", err) } - err = twtxtCache.AddUser(nick, urls, net.ParseIP("127.0.0.1"), statusmap) - if err != nil { - t.Errorf("Couldn't set up test: %v\n", err) - } + twtxtCache.AddUser(nick, urls, net.ParseIP("127.0.0.1"), statusmap) t.Run("Parsing Status Query", func(t *testing.T) { data, err := twtxtCache.QueryAllStatuses() @@ -62,10 +59,7 @@ func Benchmark_parseQueryOut(b *testing.B) { b.Errorf("Couldn't set up test: %v\n", err) } - err = twtxtCache.AddUser(nick, urls, net.ParseIP("127.0.0.1"), statusmap) - if err != nil { - b.Errorf("Couldn't set up test: %v\n", err) - } + twtxtCache.AddUser(nick, urls, net.ParseIP("127.0.0.1"), statusmap) data, err := twtxtCache.QueryAllStatuses() if err != nil { -- cgit 1.4.1-2-gfad0 td>Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/linux/110stop.subx
blob: 6b81e5269705c5949d3a06dce4a294aa2b42050c (plain) (tree)
1
2
3
4
5
6