Chromium Code Reviews| Index: tests/standalone/io/sleep_test.dart |
| diff --git a/tests/standalone/io/sleep_test.dart b/tests/standalone/io/sleep_test.dart |
| index d953bf9f1a29536b9cc5652ebbb4380f91448304..26646fa87a62cf10ebdb42ab72bbf9fe1ec36d1a 100644 |
| --- a/tests/standalone/io/sleep_test.dart |
| +++ b/tests/standalone/io/sleep_test.dart |
| @@ -13,7 +13,10 @@ test(int milliseconds) { |
| } |
| main() { |
| + test(0); |
| test(1); |
| test(10); |
| test(100); |
| + Expect.throws(() => sleep(new Duration(milliseconds: -1)), |
| + (e) => e is ArgumentError); |
| } |