Index: tests/html/cssstyledeclaration_test.dart |
diff --git a/tests/html/cssstyledeclaration_test.dart b/tests/html/cssstyledeclaration_test.dart |
index 0634b3488806d2ec9fc29e408548d463e49dbfea..12a5f1559fef273bcd1133f461c294fa630924b0 100644 |
--- a/tests/html/cssstyledeclaration_test.dart |
+++ b/tests/html/cssstyledeclaration_test.dart |
@@ -86,7 +86,7 @@ main() { |
document.body.children.add(element); |
// Need to wait one tick after the element has been added to the page. |
- new Timer(const Duration(milliseconds: 10), expectAsync0(() { |
+ new Timer(const Duration(milliseconds: 10), expectAsync(() { |
element.style.textDecoration = 'underline'; |
var style = element.getComputedStyle(); |
expect(style.textDecoration, contains('underline')); |