Index: pkg/path/test/io_test.dart |
diff --git a/pkg/path/test/io_test.dart b/pkg/path/test/io_test.dart |
index 3e52bb95ef700a14a220ed904b0cc4ad068c58df..5663920593c54fbe5d8e8c60fa2b1aeced8996f7 100644 |
--- a/pkg/path/test/io_test.dart |
+++ b/pkg/path/test/io_test.dart |
@@ -41,10 +41,14 @@ main() { |
var dir = io.Directory.current.path; |
try { |
expect(path.absolute('foo/bar'), equals(path.join(dir, 'foo/bar'))); |
+ expect(path.absolute('foo/bar'), |
+ equals(path.context.join(dir, 'foo/bar'))); |
io.Directory.current = path.dirname(dir); |
expect(path.normalize(path.absolute('foo/bar')), |
equals(path.normalize(path.join(dir, '../foo/bar')))); |
+ expect(path.normalize(path.absolute('foo/bar')), |
+ equals(path.normalize(path.context.join(dir, '../foo/bar')))); |
} finally { |
io.Directory.current = dir; |
} |