| Index: tests/lib/async/run_zoned1_test.dart
|
| diff --git a/tests/language/closure_in_field_initializer_test.dart b/tests/lib/async/run_zoned1_test.dart
|
| similarity index 64%
|
| copy from tests/language/closure_in_field_initializer_test.dart
|
| copy to tests/lib/async/run_zoned1_test.dart
|
| index bf0198aa4b3ae78e6ad50f19e4e08a573daf80d4..71af2346c69ce7add4f4f8c5b030b2ca02385c73 100644
|
| --- a/tests/language/closure_in_field_initializer_test.dart
|
| +++ b/tests/lib/async/run_zoned1_test.dart
|
| @@ -3,14 +3,9 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| import "package:expect/expect.dart";
|
| -
|
| -class Foo {
|
| - var closures = {
|
| - 'a': (x, y) => x + y
|
| - };
|
| -}
|
| +import 'dart:async';
|
|
|
| main() {
|
| - var closures = new Foo().closures;
|
| - Expect.equals(6, closures['a'](4, 2));
|
| + // Make sure `runZoned` returns the result of a synchronous call.
|
| + Expect.equals(499, runZonedExperimental(() => 499));
|
| }
|
|
|