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

Unified Diff: tests/standalone/io/file_non_ascii_sync_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 | « tests/standalone/io/file_input_stream_test.dart ('k') | tests/standalone/io/file_non_ascii_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/file_non_ascii_sync_test.dart
diff --git a/tests/standalone/io/file_non_ascii_sync_test.dart b/tests/standalone/io/file_non_ascii_sync_test.dart
index c5004f6c370a240328c91aed03d6b4ab6cec7a26..d9e3b2db1e2655f5c20a3e796993ff94d16acc37 100644
--- a/tests/standalone/io/file_non_ascii_sync_test.dart
+++ b/tests/standalone/io/file_non_ascii_sync_test.dart
@@ -6,7 +6,8 @@ import "package:expect/expect.dart";
import 'dart:io';
main() {
- Directory tempDir = new Directory('').createTempSync();
+ Directory tempDir =
+ Directory.systemTemp.createTempSync('dart_file_non_ascii_sync');
Directory nonAsciiDir = new Directory('${tempDir.path}/æøå');
nonAsciiDir.createSync();
Expect.isTrue(nonAsciiDir.existsSync());
« no previous file with comments | « tests/standalone/io/file_input_stream_test.dart ('k') | tests/standalone/io/file_non_ascii_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698