Index: tests/html/transferables_test.dart |
diff --git a/tests/html/transferables_test.dart b/tests/html/transferables_test.dart |
index a487ada4b6021c28d55e1a10e9a27e9c57f3d3c5..a00a6e497e0ffdca5614553b0f7fa6c8932d2a9a 100644 |
--- a/tests/html/transferables_test.dart |
+++ b/tests/html/transferables_test.dart |
@@ -24,7 +24,7 @@ main() { |
'buffer': buffer |
}, '*', [buffer]); |
- return window.onMessage.firstMatching( |
+ return window.onMessage.firstWhere( |
(e) { |
return e.data is Map && e.data['id'] == 'transferable data'; |
}).then((messageEvent) { |