Silence rebuild-index tests

This commit is contained in:
Alexander Neumann 2015-10-25 21:51:46 +01:00
parent 566fb22bcf
commit 7b8e42a763

View file

@ -99,6 +99,7 @@ func cmdCheckOutput(t testing.TB, global GlobalOptions) string {
} }
func cmdRebuildIndex(t testing.TB, global GlobalOptions) { func cmdRebuildIndex(t testing.TB, global GlobalOptions) {
global.stdout = ioutil.Discard
cmd := &CmdRebuildIndex{global: &global} cmd := &CmdRebuildIndex{global: &global}
OK(t, cmd.Execute(nil)) OK(t, cmd.Execute(nil))
} }