Index: pkg/pathos/test/pathos_test.dart |
diff --git a/pkg/pathos/test/pathos_test.dart b/pkg/pathos/test/pathos_test.dart |
index c820a4742d4327b42bdcfe5bf0f719aa9cf660dd..2d56ee22b5e422fcbc7232ee3b6a229162a33191 100644 |
--- a/pkg/pathos/test/pathos_test.dart |
+++ b/pkg/pathos/test/pathos_test.dart |
@@ -40,7 +40,7 @@ main() { |
test('uses the current working directory if root is omitted', () { |
var builder = new path.Builder(); |
- expect(builder.root, new io.Directory.current().path); |
+ expect(builder.root, io.Directory.current.path); |
}); |
test('uses the host OS if style is omitted', () { |
@@ -54,6 +54,6 @@ main() { |
}); |
test('current', () { |
- expect(path.current, new io.Directory.current().path); |
+ expect(path.current, io.Directory.current.path); |
}); |
} |