Fix tests

This commit is contained in:
morganamilo
2018-08-29 20:19:31 +01:00
parent 73a171f48c
commit c93b3fca9e
5 changed files with 15 additions and 23 deletions

View File

@@ -11,7 +11,7 @@ func benchmarkPrintSearch(search string, b *testing.B) {
os.Stdout = w
for n := 0; n < b.N; n++ {
res, _, _ := queryRepo(append([]string{}, search))
res, _ := queryRepo(append([]string{}, search))
res.printSearch()
}
os.Stdout = old