From 6cadd098ac22cda7090d60c532ebe4100af9c8df Mon Sep 17 00:00:00 2001 From: Alexandre Roux Date: Thu, 11 Jul 2024 01:14:39 +0200 Subject: [PATCH] fix exists --- app_cv_sembast/test/app_cv_sembast_test.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app_cv_sembast/test/app_cv_sembast_test.dart b/app_cv_sembast/test/app_cv_sembast_test.dart index af91a9b..1c65c9a 100644 --- a/app_cv_sembast/test/app_cv_sembast_test.dart +++ b/app_cv_sembast/test/app_cv_sembast_test.dart @@ -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;