Index: tests/lib_strong/async/stream_iterator_test.dart |
diff --git a/tests/lib_strong/async/stream_iterator_test.dart b/tests/lib_strong/async/stream_iterator_test.dart |
index bbd7f719ed5b8d2eacb051a4293592918ae06a2b..5a35d8de2e0b789c315a25ce69c4c8ffa481caec 100644 |
--- a/tests/lib_strong/async/stream_iterator_test.dart |
+++ b/tests/lib_strong/async/stream_iterator_test.dart |
@@ -39,8 +39,8 @@ main() { |
expect(await iterator.moveNext(), isTrue); |
expect(iterator.current, 42); |
var hasNext = iterator.moveNext(); |
- expect(hasNext, throwsA("BAD")); // This is an async expectation, |
- await hasNext.catchError((_){}); // so we have to wait for the future too. |
+ expect(hasNext, throwsA("BAD")); // This is an async expectation, |
+ await hasNext.catchError((_) {}); // so we have to wait for the future too. |
expect(iterator.current, isNull); |
expect(await iterator.moveNext(), isFalse); |
expect(iterator.current, isNull); |
@@ -63,13 +63,12 @@ main() { |
expect(await iterator.moveNext(), isTrue); |
expect(iterator.current, i); |
} |
- var hasNext = iterator.moveNext(); // active moveNext will be completed. |
+ var hasNext = iterator.moveNext(); // active moveNext will be completed. |
var cancel = iterator.cancel(); |
expect(cancel, throwsA("BAD")); |
expect(await hasNext, isFalse); |
- expect(await iterator.moveNext(), isFalse); |
+ expect(await iterator.moveNext(), isFalse); |
}); |
- |
} |
Stream createStream() async* { |