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

Unified Diff: tests/isolate/isolate_complex_messages_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/isolate_complex_messages_test.dart
diff --git a/tests/isolate/isolate_complex_messages_test.dart b/tests/isolate/isolate_complex_messages_test.dart
index 92c26d9bd71f30c1a4197f07ad55c5fb76ef0450..eda4e9081037e2440805fcfba428e8592aa1e54a 100644
--- a/tests/isolate/isolate_complex_messages_test.dart
+++ b/tests/isolate/isolate_complex_messages_test.dart
@@ -15,8 +15,8 @@ void main([args, port]) {
test("complex messages are serialized correctly", () {
ReceivePort local = new ReceivePort();
Isolate.spawn(logMessages, local.sendPort);
- var done = expectAsync0((){});
- local.listen(expectAsync1((msg) {
+ var done = expectAsync((){});
+ local.listen(expectAsync((msg) {
switch (msg[0]) {
case "init":
var remote = msg[1];

Powered by Google App Engine
This is Rietveld 408576698