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

Unified Diff: tests/isolate/spawn_uri_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_uri_test.dart
diff --git a/tests/isolate/spawn_uri_test.dart b/tests/isolate/spawn_uri_test.dart
index ddc5c177195dbcd4fe2b30e5f6607c65a53c7de7..340170e5cbfd636b527a48d58bfc877d1b345814 100644
--- a/tests/isolate/spawn_uri_test.dart
+++ b/tests/isolate/spawn_uri_test.dart
@@ -13,7 +13,7 @@ import '../../pkg/unittest/lib/unittest.dart';
main() {
test('isolate fromUri - send and reply', () {
ReceivePort port = new ReceivePort();
- port.listen(expectAsync1((msg) {
+ port.listen(expectAsync((msg) {
expect(msg, equals('re: hi'));
port.close();
}));

Powered by Google App Engine
This is Rietveld 408576698