Index: test/data/input/table_test.html |
diff --git a/test/data/input/table_test.html b/test/data/input/table_test.html |
index 94f802ceebfd95e44b343cba19d077354294204a..9378d67e59a19500abe531aa35c22b24fad5393a 100644 |
--- a/test/data/input/table_test.html |
+++ b/test/data/input/table_test.html |
@@ -20,6 +20,7 @@ BSD-style license that can be found in the LICENSE file. |
</tr> |
</tbody></table> |
<script type="application/dart"> |
+ import 'dart:async'; |
import 'dart:html'; |
import 'package:unittest/unittest.dart'; |
import 'package:web_ui/observe.dart'; |
@@ -32,7 +33,7 @@ BSD-style license that can be found in the LICENSE file. |
]); |
main() { |
- window.setImmediate(() { |
+ Timer.run(() { |
expect(document.query("#test").innerHtml, equalsIgnoringWhitespace( |
'<tr> <td>1</td> <td>2</td> <td>3</td> </tr> ' |
'<tr> <td>a</td> <td>b</td> <td>c</td> </tr> ' |