| Index: tests/lib_strong/async/stream_take_test.dart
|
| diff --git a/tests/lib_strong/async/stream_take_test.dart b/tests/lib_strong/async/stream_take_test.dart
|
| index e341a2259d193c521b42a4db807a5665a46960ef..b681e8847d7d41b2f00d77ebbdac630609aec57c 100644
|
| --- a/tests/lib_strong/async/stream_take_test.dart
|
| +++ b/tests/lib_strong/async/stream_take_test.dart
|
| @@ -6,8 +6,13 @@ import 'dart:async';
|
| import "package:expect/expect.dart";
|
| import "package:async_helper/async_helper.dart";
|
|
|
| -class A { const A(); }
|
| -class B extends A { const B(); }
|
| +class A {
|
| + const A();
|
| +}
|
| +
|
| +class B extends A {
|
| + const B();
|
| +}
|
|
|
| /// Stream which emits an error if it's not canceled at the correct time.
|
| ///
|
| @@ -38,7 +43,9 @@ Stream makeStream(int maxEvents) {
|
|
|
| main() {
|
| asyncStart();
|
| - tests().then((_) { asyncEnd(); });
|
| + tests().then((_) {
|
| + asyncEnd();
|
| + });
|
| }
|
|
|
| tests() async {
|
| @@ -59,5 +66,5 @@ tests() async {
|
| Future expectThrowsAsync(Future computation, String name) {
|
| return computation.then((_) {
|
| Expect.fail("$name: Did not throw");
|
| - }, onError: (e, s){});
|
| + }, onError: (e, s) {});
|
| }
|
|
|