0
0
Fork 0

typo in storage type error message

This commit is contained in:
Steve Yen 2015-01-06 09:18:18 -08:00
parent ede3177c1e
commit d442713de6
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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