mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-06 10:57:51 +00:00
Fix TestCRUDIndexes
This commit is contained in:
parent
2d666f8ee8
commit
ecba5e3636
1 changed files with 1 additions and 1 deletions
|
|
@ -1094,7 +1094,7 @@ func TestCRUDIndexes(t *testing.T) {
|
|||
// Check errors for CreateIndex: create index with no name
|
||||
_, err = gh.CreateIndex(ctx, &pb.CreateIndexRequest{Name: ""})
|
||||
errStatus, _ = status.FromError(err)
|
||||
if errStatus.Code() != codes.Unknown {
|
||||
if errStatus.Code() != codes.FailedPrecondition {
|
||||
t.Fatalf("Error code should be codes.Unknown, but is %v", errStatus.Code())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue