mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
missed a test
This commit is contained in:
parent
ecaaddcf71
commit
d85ac1dca7
1 changed files with 3 additions and 2 deletions
|
|
@ -585,12 +585,13 @@ func TestExecutor_DeleteRows(t *testing.T) {
|
|||
t.Fatalf("failed to read row: %v", err)
|
||||
}
|
||||
|
||||
changed, err := DeleteRows(row, idx, shard)
|
||||
ctx := context.Background()
|
||||
changed, err := DeleteRows(ctx, row, idx, shard)
|
||||
if !changed || err != nil {
|
||||
t.Fatalf("failed to delete row: %v", err)
|
||||
}
|
||||
|
||||
changed, err = DeleteRows(row, idx, shard)
|
||||
changed, err = DeleteRows(ctx, row, idx, shard)
|
||||
if changed {
|
||||
t.Fatalf("expected delete to not clear bit but it did")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue