Chromium Code Reviews| Index: tests/html/inner_frame_test.dart |
| =================================================================== |
| --- tests/html/inner_frame_test.dart (revision 7823) |
| +++ tests/html/inner_frame_test.dart (working copy) |
| @@ -42,8 +42,8 @@ |
| final iframe = new Element.tag('iframe'); |
| iframe.src = window.location.href; |
| - asyncTest('prepare', 1, () { |
| - iframe.on.load.add((e) => callbackDone()); |
| + test('prepare', () { |
| + iframe.on.load.add(expectAsync1((e) {})); |
| document.body.nodes.add(iframe); |
| }); |