| Index: tests/html/cssstyledeclaration_test.dart
|
| diff --git a/tests/html/cssstyledeclaration_test.dart b/tests/html/cssstyledeclaration_test.dart
|
| index a0ef366835b86183c7f26b1c07b7c31e94b24bb5..1f8660532d9b262095424f1876efe0fbdef8c464 100644
|
| --- a/tests/html/cssstyledeclaration_test.dart
|
| +++ b/tests/html/cssstyledeclaration_test.dart
|
| @@ -6,6 +6,7 @@ library CssStyleDeclarationTest;
|
| import '../../pkg/unittest/lib/unittest.dart';
|
| import '../../pkg/unittest/lib/html_config.dart';
|
| import 'dart:html';
|
| +import 'dart:async';
|
|
|
| main() {
|
| useHtmlConfiguration();
|
| @@ -84,10 +85,10 @@ main() {
|
| document.body.children.add(element);
|
|
|
| // Need to wait one tick after the element has been added to the page.
|
| - window.setTimeout(expectAsync0(() {
|
| + new Timer(const Duration(milliseconds: 10), expectAsync0(() {
|
| element.style.textDecoration = 'underline';
|
| var style = element.getComputedStyle();
|
| expect(style.textDecoration, equals('underline'));
|
| - }), 10);
|
| + }));
|
| });
|
| }
|
|
|