Index: tests/isolate/capability_test.dart |
diff --git a/tests/isolate/capability_test.dart b/tests/isolate/capability_test.dart |
index 7ef94e7d8cecd0375ad4681e4549eda1a8bd1e16..a9d3ae63ec8064606d13e64a0fc214ae7ee141c6 100644 |
--- a/tests/isolate/capability_test.dart |
+++ b/tests/isolate/capability_test.dart |
@@ -10,13 +10,13 @@ void main() { |
asyncStart(); |
var c1 = new Capability(); |
var c2 = new Capability(); |
- Expect.notIdentical(c1, c2); |
Expect.notEquals(c1, c2); |
var receive = new RawReceivePort(); |
receive.sendPort.send(c1); |
receive.handler = (c3) { |
- Expect.identical(c3, c1); |
+ Expect.equals(c3, c1); |
+ Expect.notEquals(c3, c2); |
asyncEnd(); |
}; |
} |