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

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

Issue 60953003: Don't use mirrors in pkg/path. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Clean up. Created 7 years, 1 month 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 | « pkg/path/lib/path.dart ('k') | no next file » | 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 072564697dc63c7bc482be9cebd7bf7440f24ed5..a6e8a68045581c1eeba2d4617e0e705716cd6d4c 100644
--- a/pkg/path/test/browser_test.dart
+++ b/pkg/path/test/browser_test.dart
@@ -14,7 +14,8 @@ main() {
group('new Builder()', () {
test('uses the window location if root and style are omitted', () {
var builder = new path.Builder();
- expect(builder.root, window.location.href);
+ expect(builder.root,
+ Uri.parse(window.location.href).resolve('.').toString());
});
test('uses "." if root is omitted', () {
@@ -33,6 +34,7 @@ main() {
});
test('current', () {
- expect(path.current, window.location.href);
+ expect(path.current,
+ Uri.parse(window.location.href).resolve('.').toString());
});
}
« no previous file with comments | « pkg/path/lib/path.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698