Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Unified Diff: tests/standalone/io/file_test.dart

Issue 25471003: Modify tests to use Directory.systemTemp (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/standalone/io/file_test.dart
diff --git a/tests/standalone/io/file_test.dart b/tests/standalone/io/file_test.dart
index 3b8c383469b2f1d29ede4d03f6d3565e0c0ca285..8fd698fbc39a5d0c70d8478b99697e23c095bc0b 100644
--- a/tests/standalone/io/file_test.dart
+++ b/tests/standalone/io/file_test.dart
@@ -46,7 +46,7 @@ class FileTest {
}
static void createTempDirectory(Function doNext) {
- new Directory('').createTemp().then((temp) {
+ Directory.createSystemTemp('dart_file').then((temp) {
tempDirectory = temp;
doNext();
});

Powered by Google App Engine
This is Rietveld 408576698