Use emitsThrough instead of emits

This commit is contained in:
Simon Binder 2020-05-17 15:08:24 +02:00
parent 63e0d61ccb
commit f8a516b51a
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ void main() {
final expectation = expectLater(
logs.stream,
emits(
emitsThrough(
allOf(
contains('Dart 2.1'),
contains('Please consider raising the minimum SDK version'),