Skip to content

Commit 1951820

Browse files
committed
Fix tests.
1 parent 14c1d6f commit 1951820

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/drift_sqlite_async/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Supported functionality:
88
2. Transactions and nested transactions.
99
3. Table updates are propagated between sqlite_async and Drift - watching queries works using either API.
1010
4. Select queries can run concurrently with writes and other select statements.
11+
5. Drift migrations are supported (optional).
1112

1213
## Usage
1314

packages/drift_sqlite_async/test/db_test.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void main() {
5454
// Drift may or may not emit duplicate update notifications.
5555
// We use distinct() to ignore those.
5656
.distinct()
57-
.skipWhile((e) => e.isEmpty)
57+
.skipWhile((e) => e == '[]')
5858
.take(3)
5959
.toList();
6060

@@ -83,7 +83,7 @@ void main() {
8383
var resultsPromise = stream
8484
.map((rows) => rows.toString())
8585
.distinct()
86-
.skipWhile((e) => e.isEmpty)
86+
.skipWhile((e) => e == '[]')
8787
.take(3)
8888
.toList();
8989

0 commit comments

Comments
 (0)