Skip to content

Commit

Permalink
fix exists
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Jul 10, 2024
1 parent e2bbede commit 6cadd09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app_cv_sembast/test/app_cv_sembast_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ void main() {
var record = DbStringTest()..value.v = 1;
var docRef = cvStore.record('test');
expect(await docRef.exists(db), isFalse);
expect(await docRef.existsSync(db), isFalse);
expect(docRef.existsSync(db), isFalse);
await docRef.put(db, record);
expect(await docRef.exists(db), isTrue);
expect(await docRef.existsSync(db), isTrue);
expect(docRef.existsSync(db), isTrue);
var doc = docRef.cv();
expect(await docRef.get(db), record);
doc.value.v = 2;
Expand Down

0 comments on commit 6cadd09

Please sign in to comment.