Index: dart/pkg/path/test/browser_test.dart |
diff --git a/dart/pkg/path/test/browser_test.dart b/dart/pkg/path/test/browser_test.dart |
index 3e885007caca4b6fbb878e2ffa6e255580c4bbf7..4956e97710710a4865623fefe4ca228d8783688a 100644 |
--- a/dart/pkg/path/test/browser_test.dart |
+++ b/dart/pkg/path/test/browser_test.dart |
@@ -12,9 +12,9 @@ main() { |
useHtmlConfiguration(); |
group('new Builder()', () { |
- test('uses the current directory if root and style are omitted', () { |
+ test('uses window.location.href if root and style are omitted', () { |
var builder = new path.Builder(); |
- expect(builder.root, io.Directory.current.path); |
+ expect(builder.root, window.location.href); |
}); |
test('uses "." if root is omitted', () { |