Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1493)

Unified Diff: tests/html/transferables_test.dart

Issue 12537009: Rename XMatching to XWhere. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge and rebuild dom libraries. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/html/streams_test.dart ('k') | tests/lib/async/stream_controller_async_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « tests/html/streams_test.dart ('k') | tests/lib/async/stream_controller_async_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698