| Index: tests/standalone/io/directory_test.dart
|
| diff --git a/tests/standalone/io/directory_test.dart b/tests/standalone/io/directory_test.dart
|
| index f9927d39852065d55feabdea5e5da14f25181901..33c66620c4e6140c70cfb88622317e18b5a28a0c 100644
|
| --- a/tests/standalone/io/directory_test.dart
|
| +++ b/tests/standalone/io/directory_test.dart
|
| @@ -404,11 +404,10 @@ class DirectoryTest {
|
| }
|
| }
|
|
|
| - static void testFromPath() {
|
| + static void testEquals() {
|
| var name = new File('.').fullPathSync();
|
| Directory current1 = new Directory(name);
|
| - var path = new Path(name);
|
| - Directory current2 = new Directory.fromPath(path);
|
| + Directory current2 = new Directory(name);
|
| Expect.equals(current1.path, current2.path);
|
| Expect.isTrue(current1.existsSync());
|
| }
|
| @@ -432,7 +431,7 @@ class DirectoryTest {
|
| testCreateTemp();
|
| testCreateDeleteTemp();
|
| testCurrent();
|
| - testFromPath();
|
| + testEquals();
|
| }
|
| }
|
|
|
|
|