Index: tests/html/dromaeo_smoke_test.dart |
diff --git a/tests/html/dromaeo_smoke_test.dart b/tests/html/dromaeo_smoke_test.dart |
index 946ddbc5b8146b3e8a53942496a6492766288ca1..686fe85b43759ce1191d98338c9fffa0d2ac12e2 100644 |
--- a/tests/html/dromaeo_smoke_test.dart |
+++ b/tests/html/dromaeo_smoke_test.dart |
@@ -45,7 +45,8 @@ void main() { |
originalTest.main(); |
test('dromaeo runs', () { |
- new Timer.repeating(500, expectAsyncUntil1((timer) { |
+ new Timer.repeating(new Duration(milliseconds: 500), |
+ expectAsyncUntil1((timer) { |
if (document.query('.alldone') != null) { |
timer.cancel(); |
isDone = true; |