about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-05-27 23:23:59 -0400
committerBen Morrison <ben@gbmor.dev>2019-05-27 23:23:59 -0400
commit3aaa9f3d3c5d5b59b6629897111b43c5caeadccc (patch)
treea604d8f6b0418076d71fbce8b335995da484d396
parent9d55d0b478f386aca48d8eeacbbfd4bd3b387bc0 (diff)
downloadgetwtxt-3aaa9f3d3c5d5b59b6629897111b43c5caeadccc.tar.gz
test setup failure fixed
-rw-r--r--query_test.go10
1 files 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 {