Index: pkg/path/test/io_test.dart |
diff --git a/pkg/path/test/io_test.dart b/pkg/path/test/io_test.dart |
index 2d4ac0c51a198285a575e3d058241b47b079f300..3e52bb95ef700a14a220ed904b0cc4ad068c58df 100644 |
--- a/pkg/path/test/io_test.dart |
+++ b/pkg/path/test/io_test.dart |
@@ -8,20 +8,20 @@ import 'package:unittest/unittest.dart'; |
import 'package:path/path.dart' as path; |
main() { |
- group('new Builder()', () { |
+ group('new Context()', () { |
test('uses the current directory if root and style are omitted', () { |
- var builder = new path.Builder(); |
- expect(builder.root, io.Directory.current.path); |
+ var context = new path.Context(); |
+ expect(context.current, io.Directory.current.path); |
}); |
test('uses "." if root is omitted', () { |
- var builder = new path.Builder(style: path.Style.platform); |
- expect(builder.root, "."); |
+ var context = new path.Context(style: path.Style.platform); |
+ expect(context.current, "."); |
}); |
test('uses the host platform if style is omitted', () { |
- var builder = new path.Builder(); |
- expect(builder.style, path.Style.platform); |
+ var context = new path.Context(); |
+ expect(context.style, path.Style.platform); |
}); |
}); |