Index: client/tests/client/dom/MessageEventTest.dart |
diff --git a/client/tests/client/dom/MessageEventTest.dart b/client/tests/client/dom/MessageEventTest.dart |
index 4a6aed0cff873b9f09330107d24585008b05417a..651ce5354e35b935003af842d91cc29734d82833 100644 |
--- a/client/tests/client/dom/MessageEventTest.dart |
+++ b/client/tests/client/dom/MessageEventTest.dart |
@@ -15,8 +15,7 @@ main() { |
expect(event.data).equals('data'); |
expect(event.origin).equals('origin'); |
expect(event.lastEventId).equals('lastEventId'); |
- // TODO(antonm): add identical to Expectation. |
- Expect.identical(window, event.source); |
+ expect(event.source).same(window); |
// TODO(antonm): accessing ports is not supported yet. |
}); |
} |