Index: tests/standalone/io/directory_test.dart |
diff --git a/tests/standalone/io/directory_test.dart b/tests/standalone/io/directory_test.dart |
index b25907119fc8ca0bed48687bee79a34d6452ed5b..8c28a2467f1f5c986781442b77b86178452cacfd 100644 |
--- a/tests/standalone/io/directory_test.dart |
+++ b/tests/standalone/io/directory_test.dart |
@@ -389,7 +389,7 @@ class DirectoryTest { |
static void testFromPath() { |
var name = new File('.').fullPathSync(); |
Directory current1 = new Directory(name); |
- var path = new Path.fromNative(name); |
+ var path = new Path(name); |
Directory current2 = new Directory.fromPath(path); |
Expect.equals(current1.path, current2.path); |
Expect.isTrue(current1.existsSync()); |