Index: pkg/scheduled_test/test/descriptor_test.dart |
diff --git a/pkg/scheduled_test/test/descriptor_test.dart b/pkg/scheduled_test/test/descriptor_test.dart |
index f1b3b2ffee6c5520fa6e2e12b07c17f6094508df..fe28b699f70a3c02450826bb0b04e157dce8af0c 100644 |
--- a/pkg/scheduled_test/test/descriptor_test.dart |
+++ b/pkg/scheduled_test/test/descriptor_test.dart |
@@ -911,7 +911,7 @@ void scheduleSandbox() { |
if (sandbox == null) return; |
var oldSandbox = sandbox; |
sandbox = null; |
- return new Directory(oldSandbox).delete(recursive: true); |
+ return deleteDir(oldSandbox); |
}); |
} |