Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ check(dataExpected, [bool no_write_events = false]) { | |
list.add(event); | ||
receiver.receive(); | ||
}, onDone: () { | ||
Expect.listEquals(dataExpected, list); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
ngolovleva
Author
Contributor
|
||
Expect.isTrue(list.length <= dataExpected.length); | ||
asyncEnd(); | ||
}); | ||
new Timer(const Duration(milliseconds: 200), () { | ||
|
It's no longer tested whether a
read
orwrite
event came and in which order, since only the list length is tested now!