typo in storage type error message
This commit is contained in:
parent
ede3177c1e
commit
d442713de6
2
error.go
2
error.go
|
@ -44,7 +44,7 @@ var errorMessages = map[int]string{
|
|||
int(ErrorNumericQueryNoBounds): "numeric range query must specify min or max",
|
||||
int(ErrorPhraseQueryNoTerms): "phrase query must contain at least one term",
|
||||
int(ErrorUnknownQueryType): "unknown query type",
|
||||
int(ErrorUnknownStorageType): "unkown storage type",
|
||||
int(ErrorUnknownStorageType): "unknown storage type",
|
||||
int(ErrorIndexClosed): "index is closed",
|
||||
int(ErrorAliasMulti): "cannot perform single index operation on multiple index alias",
|
||||
int(ErrorAliasEmpty): "cannot perform operation on empty alias",
|
||||
|
|
|
@ -209,7 +209,7 @@ func TestIndexOpenMetaMissingOrCorrupt(t *testing.T) {
|
|||
|
||||
index, err = Open("testidx")
|
||||
if err != ErrorUnknownStorageType {
|
||||
t.Fatalf("expected error unkown storage type, got %v", err)
|
||||
t.Fatalf("expected error unknown storage type, got %v", err)
|
||||
}
|
||||
|
||||
// now intentionally corrupt the metadata
|
||||
|
|
Loading…
Reference in New Issue