summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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 {