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

Unified Diff: tests/standalone/io/regress_7679_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
Index: tests/standalone/io/regress_7679_test.dart
diff --git a/tests/standalone/io/regress_7679_test.dart b/tests/standalone/io/regress_7679_test.dart
index 9f4c324e18dab10c860034762c20cd7ae95262e0..033507ca36677e8eff03ba08ae3c7ae755bc4851 100644
--- a/tests/standalone/io/regress_7679_test.dart
+++ b/tests/standalone/io/regress_7679_test.dart
@@ -6,7 +6,7 @@ import "package:expect/expect.dart";
import 'dart:io';
main() {
- Directory temp = new Directory('').createTempSync();
+ Directory temp = Directory.systemTemp.createTempSync('dart_regress_7679');
File script = new File('${temp.path}/script.dart');
script.writeAsStringSync("""
import 'dart:io';
« no previous file with comments | « tests/standalone/io/process_working_directory_test.dart ('k') | tests/standalone/io/resolve_symbolic_links_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698