Index: tests/html/transferables_test.dart |
diff --git a/tests/html/transferables_test.dart b/tests/html/transferables_test.dart |
index 0a709a5f724394a627523ad6dafd6ba826d57455..3db9c42641cc8113e9ea13ebc5510c9bb366a282 100644 |
--- a/tests/html/transferables_test.dart |
+++ b/tests/html/transferables_test.dart |
@@ -14,7 +14,7 @@ main() { |
predicate((x) => x is ArrayBuffer, 'is an ArrayBuffer'); |
test('TransferableTest', () { |
- window.on.message.add(expectAsync1((messageEvent) { |
+ window.onMessage.listen(expectAsync1((messageEvent) { |
expect(messageEvent.data, isArrayBuffer); |
})); |
final buffer = (new Float32Array(3)).buffer; |