Skip to content

Commit

Permalink
typo in storage type error message
Browse files Browse the repository at this point in the history
steveyen committed Jan 6, 2015
1 parent ede3177 commit d442713
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion error.go
Original file line number Diff line number Diff line change
@@ -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",
2 changes: 1 addition & 1 deletion index_test.go
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d442713

Please sign in to comment.