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

Unified Diff: tests/utils/uri_test.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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/utils/recursive_import_test.dart ('k') | tests/utils/utils.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/utils/uri_test.dart
diff --git a/tests/utils/uri_test.dart b/tests/utils/uri_test.dart
index 202304eb02b5cd40824a4a63d24c9df7c661c1a2..d72b30844a4354ded3b3083df1a0240b2fffa87b 100644
--- a/tests/utils/uri_test.dart
+++ b/tests/utils/uri_test.dart
@@ -12,6 +12,10 @@ testUri(String uri, bool isAbsolute) {
Expect.equals(isAbsolute, new Uri(uri).isAbsolute());
Expect.stringEquals(uri, new Uri.fromString(uri).toString());
Expect.stringEquals(uri, new Uri(uri).toString());
+
+ // Test equals and hashCode members.
+ Expect.equals(new Uri(uri), new Uri(uri));
+ Expect.equals(new Uri(uri).hashCode, new Uri(uri).hashCode);
}
testEncodeDecode(String orig, String encoded) {
« no previous file with comments | « tests/utils/recursive_import_test.dart ('k') | tests/utils/utils.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698