Index: tests/standalone/io/delete_a_directory_later.dart |
diff --git a/tests/standalone/io/delete_a_directory_later.dart b/tests/standalone/io/delete_a_directory_later.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5e6da0d4f1201b0e1ba517b497f7b0cc59581b85 |
--- /dev/null |
+++ b/tests/standalone/io/delete_a_directory_later.dart |
@@ -0,0 +1,12 @@ |
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+import "dart:io"; |
+import "dart:async"; |
+ |
+main() { |
+ new Timer(new Duration(seconds: 2), () { |
+ new Directory(new Options().arguments[0]).delete(recursive: true); |
+ }); |
+} |