Index: tests/html/utils.dart |
diff --git a/tests/html/utils.dart b/tests/html/utils.dart |
index 09eeaaadcb9d74a998214121075832a404e68173..9be11b071bb437b136fc86b4dbbc0c7c69c23577 100644 |
--- a/tests/html/utils.dart |
+++ b/tests/html/utils.dart |
@@ -21,14 +21,14 @@ verifyGraph(expected, actual) { |
// Cycle or DAG? |
for (int i = 0; i < eItems.length; i++) { |
- if (expected === eItems[i]) { |
+ if (identical(expected, eItems[i])) { |
expect(actual, same(aItems[i]), |
reason: message(path, 'missing back or side edge')); |
return; |
} |
} |
for (int i = 0; i < aItems.length; i++) { |
- if (actual === aItems[i]) { |
+ if (identical(actual, aItems[i])) { |
expect(expected, same(eItems[i]), |
reason: message(path, 'extra back or side edge')); |
return; |