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

Unified Diff: tests/isolate/spawn_function_test.dart

Issue 218273002: Upgrading tests with unittest deprecations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
Index: tests/isolate/spawn_function_test.dart
diff --git a/tests/isolate/spawn_function_test.dart b/tests/isolate/spawn_function_test.dart
index 54cfb5a75a49b4a8d99ec3f3e9d8a5ca7ee08aa0..307c04ee8a6c1b3667ec0bfa0e0775615bd57a9e 100644
--- a/tests/isolate/spawn_function_test.dart
+++ b/tests/isolate/spawn_function_test.dart
@@ -19,7 +19,7 @@ void main([args, port]) {
test('message - reply chain', () {
ReceivePort port = new ReceivePort();
Isolate.spawn(child, ['hi', port.sendPort]);
- port.listen(expectAsync1((msg) {
+ port.listen(expectAsync((msg) {
port.close();
expect(msg, equals('re: hi'));
}));

Powered by Google App Engine
This is Rietveld 408576698