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

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

Issue 25471003: Modify tests to use Directory.systemTemp (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase Created 7 years, 2 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
« no previous file with comments | « no previous file | tests/standalone/io/delete_symlink_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/dart_std_io_pipe_test.dart
diff --git a/tests/standalone/io/dart_std_io_pipe_test.dart b/tests/standalone/io/dart_std_io_pipe_test.dart
index cc37115afaf4e1ebce546adce5def41a8d836b64..4a512e0151bebda204f876a14ed70cda424de888 100644
--- a/tests/standalone/io/dart_std_io_pipe_test.dart
+++ b/tests/standalone/io/dart_std_io_pipe_test.dart
@@ -32,7 +32,7 @@ void checkFileContent(String fileName, String content) {
void test(String shellScript, String dartScript, String type, bool devNull) {
- Directory dir = new Directory("").createTempSync();
+ Directory dir = Directory.systemTemp.createTempSync('dart_dart_std_io_pipe');
// The shell script will run the dart executable passed with a
// number of different redirections of stdio.
« no previous file with comments | « no previous file | tests/standalone/io/delete_symlink_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698