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

Unified Diff: tests/isolate/stacktrace_message_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/stacktrace_message_test.dart
diff --git a/tests/isolate/stacktrace_message_test.dart b/tests/isolate/stacktrace_message_test.dart
index c22fa0117124f29f1acd7b8da101414aeb6659b7..baddf773d851c1eda51ce0869a2217e5a64bd607 100644
--- a/tests/isolate/stacktrace_message_test.dart
+++ b/tests/isolate/stacktrace_message_test.dart
@@ -11,7 +11,7 @@ void main([args, port]) {
test("stacktrace_message", () {
ReceivePort reply = new ReceivePort();
Isolate.spawn(runTest, reply.sendPort);
- reply.first.then(expectAsync1((StackTrace stack) {
+ reply.first.then(expectAsync((StackTrace stack) {
print(stack);
}));
});

Powered by Google App Engine
This is Rietveld 408576698