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

Unified Diff: tests/isolate/spawn_uri_vm_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_vm_test.dart
diff --git a/tests/isolate/spawn_uri_vm_test.dart b/tests/isolate/spawn_uri_vm_test.dart
index f72c3d8b1f21b41dcf286d0f30fa07da2052953b..7fbb20c187cf3a0f413a7a6f97a3fe3895a0f902 100644
--- a/tests/isolate/spawn_uri_vm_test.dart
+++ b/tests/isolate/spawn_uri_vm_test.dart
@@ -13,7 +13,7 @@ import '../../pkg/unittest/lib/unittest.dart';
main() {
test('isolate fromUri - send and reply', () {
ReceivePort port = new ReceivePort();
- port.first.then(expectAsync1((msg) {
+ port.first.then(expectAsync((msg) {
expect(msg, equals('re: hi'));
}));

Powered by Google App Engine
This is Rietveld 408576698