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) { |