Index: pkg/path/test/browser_test.dart |
diff --git a/pkg/path/test/browser_test.dart b/pkg/path/test/browser_test.dart |
index a6e8a68045581c1eeba2d4617e0e705716cd6d4c..d8584a46159352c37d860d726c5d2caf8a81ca0f 100644 |
--- a/pkg/path/test/browser_test.dart |
+++ b/pkg/path/test/browser_test.dart |
@@ -11,21 +11,21 @@ import 'package:path/path.dart' as path; |
main() { |
useHtmlConfiguration(); |
- group('new Builder()', () { |
+ group('new Context()', () { |
test('uses the window location if root and style are omitted', () { |
- var builder = new path.Builder(); |
- expect(builder.root, |
+ var context = new path.Context(); |
+ expect(context.current, |
Uri.parse(window.location.href).resolve('.').toString()); |
}); |
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); |
}); |
}); |