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

Unified Diff: lib/src/util/io.dart

Issue 2066113002: Add location information to the JSON reporter. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: cr Created 4 years, 6 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 | « lib/src/runner/runner_test.dart ('k') | lib/test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/util/io.dart
diff --git a/lib/src/util/io.dart b/lib/src/util/io.dart
index faea6c03e9e6f378000db194a4ac7436ac208e1f..59638dccba37b0bcb2e2d7986301c53af5532159 100644
--- a/lib/src/util/io.dart
+++ b/lib/src/util/io.dart
@@ -70,8 +70,8 @@ bool get canUseSpecialChars =>
Platform.operatingSystem != 'windows' && !inTestTests;
/// Creates a temporary directory and returns its path.
-String createTempDir() =>
- new Directory(_tempDir).createTempSync('dart_test_').path;
+String createTempDir() => new Directory(_tempDir)
+ .createTempSync('dart_test_').resolveSymbolicLinksSync();
/// Creates a temporary directory and passes its path to [fn].
///
« no previous file with comments | « lib/src/runner/runner_test.dart ('k') | lib/test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698