0
0
Fork 0

check error returned in test to make errcheck happy

This commit is contained in:
Marty Schoch 2015-05-08 08:40:46 -04:00
parent 57cd67fa88
commit 6f28f3e5bd
1 changed files with 4 additions and 1 deletions

View File

@ -623,7 +623,10 @@ func TestIndexMetadataRaceBug198(t *testing.T) {
go func() {
for {
index.DocCount()
_, err := index.DocCount()
if err != nil {
t.Fatal(err)
}
}
}()