Chromium Code Reviews| Index: tests/lib/async/deferred/deferred_api_test.dart |
| diff --git a/tests/lib/async/deferred/deferred_api_test.dart b/tests/lib/async/deferred/deferred_api_test.dart |
| index f138935434b82f9316e831e105627acc211624af..18eaf2258dbf30b3d4c31d034da038025629082f 100644 |
| --- a/tests/lib/async/deferred/deferred_api_test.dart |
| +++ b/tests/lib/async/deferred/deferred_api_test.dart |
| @@ -20,15 +20,13 @@ main() { |
| print('unittest-suite-wait-for-done'); |
| int counter = 0; |
| - lazy.load().then((bool didLoad) { |
| - Expect.isTrue(didLoad); |
| + lazy.load().then((_) { |
|
Johnni Winther
2014/04/11 07:34:54
Why this change?
sigurdm
2014/04/11 09:11:38
I removed the bool from the future in a previous C
|
| Expect.equals(1, ++counter); |
| Expect.equals(42, lib.foo('b')); |
| print('lazy was loaded'); |
| }); |
| Expect.equals(0, counter); |
| - lazy.load().then((bool didLoad) { |
| - Expect.isFalse(didLoad); |
| + lazy.load().then((_) { |
| Expect.equals(2, ++counter); |
| Expect.equals(42, lib.foo('b')); |
| print('lazy was loaded'); |