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

Unified Diff: tools/testing/dart/utils.dart

Issue 957253002: Allow uri in deepJsonCompare (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/utils.dart
diff --git a/tools/testing/dart/utils.dart b/tools/testing/dart/utils.dart
index a1c4ecc5b55cc7b4083fa5d455bd2f39d18c938b..d0009946621491f508afff84e935880f30d76668 100644
--- a/tools/testing/dart/utils.dart
+++ b/tools/testing/dart/utils.dart
@@ -270,7 +270,7 @@ class HashCodeBuilder {
}
bool deepJsonCompare(Object a, Object b) {
- if (a == null || a is num || a is String) {
+ if (a == null || a is num || a is String || a is Uri) {
Bill Hesse 2015/02/26 09:31:11 Please add bool as well, like in the hash builder
return a == b;
} else if (a is List) {
if (b is List) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698