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

Unified Diff: tests/compiler/dart2js/mirrors_test.dart

Issue 11878015: Default constructor for dart:io Path now handles native Windows paths. Path() now does the same as… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Don't change tools/version.dart until the binaries are updated. Created 7 years, 11 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 | « sdk/lib/io/path_impl.dart ('k') | tests/standalone/io/directory_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/mirrors_test.dart
diff --git a/tests/compiler/dart2js/mirrors_test.dart b/tests/compiler/dart2js/mirrors_test.dart
index 9d2e8d7a51c20015d5fd1e9b09cc4d3b0abea842..9f10a8c4c8d348cd42a7d0fdfc3bc586b30ce8f0 100644
--- a/tests/compiler/dart2js/mirrors_test.dart
+++ b/tests/compiler/dart2js/mirrors_test.dart
@@ -34,10 +34,10 @@ DeclarationMirror findMirror(List<DeclarationMirror> list, String name) {
}
main() {
- var scriptPath = new Path.fromNative(new Options().script);
+ var scriptPath = new Path(new Options().script);
var dirPath = scriptPath.directoryPath;
- var libPath = dirPath.join(new Path.fromNative('../../../sdk/'));
- var inputPath = dirPath.join(new Path.fromNative('mirrors_helper.dart'));
+ var libPath = dirPath.join(new Path('../../../sdk/'));
+ var inputPath = dirPath.join(new Path('mirrors_helper.dart'));
var compilation = new Compilation.library([inputPath], libPath, null,
<String>['--preserve-comments']);
Expect.isNotNull(compilation, "No compilation created");
« no previous file with comments | « sdk/lib/io/path_impl.dart ('k') | tests/standalone/io/directory_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698