Index: tests/fletch_tests/utils.dart |
diff --git a/tests/fletch_tests/utils.dart b/tests/fletch_tests/utils.dart |
deleted file mode 100644 |
index 622695853cae47aa659effd5661c9fdd030b1709..0000000000000000000000000000000000000000 |
--- a/tests/fletch_tests/utils.dart |
+++ /dev/null |
@@ -1,21 +0,0 @@ |
-// Copyright (c) 2015, 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. |
- |
-library fletch_tests.utils; |
- |
-import 'dart:async' show |
- Future; |
- |
-import 'dart:io' show |
- Directory; |
- |
-Future withTempDirectory(Future f(Directory)) async { |
- var directory = await Directory.systemTemp.createTemp(); |
- try { |
- return await f(directory); |
- } finally { |
- await directory.delete(recursive: true); |
- } |
-} |
- |