Index: tests/lib/async/timer_isolate_test.dart |
diff --git a/tests/lib/async/timer_isolate_test.dart b/tests/lib/async/timer_isolate_test.dart |
index 1e0cb9bf4d2dd476faef0b0a764ad393738fcbe9..8c6c5fbf7165654b36853f311e6a35f8a7f6dada 100644 |
--- a/tests/lib/async/timer_isolate_test.dart |
+++ b/tests/lib/async/timer_isolate_test.dart |
@@ -13,7 +13,7 @@ const Duration TIMEOUT = const Duration(milliseconds: 100); |
// Some browsers (Firefox and IE so far) can trigger too early. Add a safety |
// margin. We use identical(1, 1.0) as an easy way to know if the test is |
// compiled by dart2js. |
-int get safetyMargin => identical(1, 1.0) ? 100 : 0; |
+int get safetyMargin => identical(1, 1.0) ? 100 : 1; |
createTimer(replyTo) { |
new Timer(TIMEOUT, () { |