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

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: 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/regress_7679_test.dart
diff --git a/tests/standalone/io/regress_7679_test.dart b/tests/standalone/io/regress_7679_test.dart
index 9f4c324e18dab10c860034762c20cd7ae95262e0..385c660d2a51da8283f6e2d04cc65a3f2bfeb8b7 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.createSystemTempSync('dart_regress_7679');
File script = new File('${temp.path}/script.dart');
script.writeAsStringSync("""
import 'dart:io';

Powered by Google App Engine
This is Rietveld 408576698