Index: tests/isolate/serialization_test.dart |
diff --git a/tests/isolate/serialization_test.dart b/tests/isolate/serialization_test.dart |
index 14466ebc3bb85c0be9f4cf7f5999dff0794a9763..c69042d173d6e5ba9c84d2a719137a59bdb783c6 100644 |
--- a/tests/isolate/serialization_test.dart |
+++ b/tests/isolate/serialization_test.dart |
@@ -44,10 +44,10 @@ void testAllTypes(Function f) { |
var c = [ a, b, a, b, a ]; |
var copied = f(c); |
verify(c, copied); |
- Expect.isFalse(c === copied); |
- Expect.isTrue(copied[0] === copied[2]); |
- Expect.isTrue(copied[0] === copied[4]); |
- Expect.isTrue(copied[1] === copied[3]); |
+ Expect.isFalse(identical(c, copied)); |
+ Expect.identical(copied[0], copied[2]); |
+ Expect.identical(copied[0], copied[4]); |
+ Expect.identical(copied[1], copied[3]); |
} |
void copyAndVerify(o, Function f) { |