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/compiler/dart2js/dart2js_batch2_test.dart

Issue 1024463007: Make unittests work on Windows (again) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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/compiler/dart2js/dart2js_batch2_test.dart
diff --git a/tests/compiler/dart2js/dart2js_batch2_test.dart b/tests/compiler/dart2js/dart2js_batch2_test.dart
index d2a1845614b6413462ad9401cd97dc128608bd0b..644c790a975b20c2e817d725c8b7550d65a516d4 100644
--- a/tests/compiler/dart2js/dart2js_batch2_test.dart
+++ b/tests/compiler/dart2js/dart2js_batch2_test.dart
@@ -39,7 +39,7 @@ Future setup() {
tmpDir = directory;
String newPath = path.join(directory.path, "dart2js_batch2_run.dart");
File source =
- new File(Platform.script.resolve("dart2js_batch2_run.dart").path);
+ new File.fromUri(Platform.script.resolve("dart2js_batch2_run.dart"));
source.copySync(newPath);
});
}

Powered by Google App Engine
This is Rietveld 408576698