fix issue identified by go vet
This commit is contained in:
parent
7e3ba85b9d
commit
521d6101fd
@ -352,7 +352,7 @@ func TestStoredFieldPreserved(t *testing.T) {
|
||||
}
|
||||
|
||||
if len(res.Hits) != 1 {
|
||||
t.Error("expected 1 hit, got %d", len(res.Hits))
|
||||
t.Errorf("expected 1 hit, got %d", len(res.Hits))
|
||||
}
|
||||
|
||||
if res.Hits[0].Fields["name"] != "Marty" {
|
||||
|
Loading…
Reference in New Issue
Block a user