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"); |