Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Feb 3, 2025
1 parent da62038 commit b2f7f49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app_cv_sembast/test/app_cv_sembast_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -377,9 +377,9 @@ void main() {
test('delete', () async {
var cvStore = cvIntStoreFactory.store<DbTest>('test');
await db.transaction((txn) async {
await cvStore.record(1).cv().put(db);
await cvStore.record(2).cv().put(db);
await cvStore.record(3).cv().put(db);
await cvStore.record(1).cv().put(txn);
await cvStore.record(2).cv().put(txn);
await cvStore.record(3).cv().put(txn);
var query = cvStore.query(
finder: Finder(sortOrders: [SortOrder(Field.key)], offset: 1));
expect(await query.delete(txn), 2);
Expand Down

0 comments on commit b2f7f49

Please sign in to comment.