Add better docs for Group

This commit is contained in:
Jae Kwon
2016-10-26 22:11:43 -07:00
parent c26b857900
commit d741b81ab5
2 changed files with 26 additions and 2 deletions

View File

@@ -230,6 +230,10 @@ func TestSearch(t *testing.T) {
if !strings.HasPrefix(line, "INFO 0 ") {
t.Error("Failed to fetch correct line, which is the earliest INFO")
}
err = gr.Close()
if err != nil {
t.Error("Failed to close GroupReader", err)
}
}
// Now search for something that is too large.