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

Unified Diff: tests/corelib/uri_path_test.dart

Issue 23766030: Return the correct port from Uri, when port is 0 and scheme is either http or https. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add tests and check for first charecter is alphabetic in scheme. Created 7 years, 3 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 | « tests/corelib/uri_ipv6_test.dart ('k') | tests/corelib/uri_scheme_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/uri_path_test.dart
diff --git a/tests/corelib/uri_path_test.dart b/tests/corelib/uri_path_test.dart
index d1804f97b327ae54c1cba300cbedd5f94d81860b..6274e8b5ee731bcfba3102e230dccbc0010f46cd 100644
--- a/tests/corelib/uri_path_test.dart
+++ b/tests/corelib/uri_path_test.dart
@@ -47,12 +47,9 @@ void testPathSegments() {
var uri1 = new Uri(pathSegments: segments);
var uri2 = new Uri(path: path);
- var uri3 = Uri.parse(path);
check(uri1);
check(uri2);
- check(uri3);
- Expect.equals(uri1, uri3);
- Expect.equals(uri2, uri3);
+ Expect.equals(uri1, uri2);
}
test("", []);
« no previous file with comments | « tests/corelib/uri_ipv6_test.dart ('k') | tests/corelib/uri_scheme_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698