commit | 1fabfff2b9e51203a6c53884682a1c0e929c4dee | [log] [tgz] |
---|---|---|
author | rnystrom@google.com <rnystrom@google.com> | Tue Jul 30 18:32:40 2013 +0000 |
committer | rnystrom@google.com <rnystrom@google.com> | Tue Jul 30 18:32:40 2013 +0000 |
tree | 6fcd4148afa1800c71ce90d16e11b6311808e9bb | |
parent | 0feee6473ff3eb8dfc6650d688802126980a8f1d [diff] |
Fix path browser test. BUG=https://code.google.com/p/dart/issues/detail?id=12121 R=nweiz@google.com Review URL: https://codereview.chromium.org//21164005 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/path@25628 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/test/browser_test.dart b/test/browser_test.dart index 3e88500..0725646 100644 --- a/test/browser_test.dart +++ b/test/browser_test.dart
@@ -12,9 +12,9 @@ useHtmlConfiguration(); group('new Builder()', () { - test('uses the current directory if root and style are omitted', () { + test('uses the window location 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', () {