Index: tests/standalone/io/sleep_test.dart |
diff --git a/tests/standalone/io/sleep_test.dart b/tests/standalone/io/sleep_test.dart |
index be4d266a8629109434ac406812cc297eec609679..d953bf9f1a29536b9cc5652ebbb4380f91448304 100644 |
--- a/tests/standalone/io/sleep_test.dart |
+++ b/tests/standalone/io/sleep_test.dart |
@@ -9,7 +9,7 @@ test(int milliseconds) { |
watch.start(); |
sleep(new Duration(milliseconds: milliseconds)); |
watch.stop(); |
- Expect.isTrue(watch.elapsedMilliseconds >= milliseconds); |
+ Expect.isTrue(watch.elapsedMilliseconds + 1 >= milliseconds); |
} |
main() { |