Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Unified Diff: pkg/path/test/browser_test.dart

Issue 21164005: Fix path browser test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/pkg.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/path/test/browser_test.dart
diff --git a/pkg/path/test/browser_test.dart b/pkg/path/test/browser_test.dart
index 3e885007caca4b6fbb878e2ffa6e255580c4bbf7..072564697dc63c7bc482be9cebd7bf7440f24ed5 100644
--- a/pkg/path/test/browser_test.dart
+++ b/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 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', () {
« no previous file with comments | « no previous file | pkg/pkg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698