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

Unified Diff: pkg/analysis_server/test/integration/integration_tests.dart

Issue 2701473009: Switch to using expectAsync0() to address some deprecation warnings. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « pkg/analysis_server/pubspec.yaml ('k') | pkg/analyzer_plugin/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/integration/integration_tests.dart
diff --git a/pkg/analysis_server/test/integration/integration_tests.dart b/pkg/analysis_server/test/integration/integration_tests.dart
index 1eee7aa7a0f2f4a9beaa1e313f2eb4c5d9603a31..ebd6ff8d501d678acb37f3ccd56adf6208f1077f 100644
--- a/pkg/analysis_server/test/integration/integration_tests.dart
+++ b/pkg/analysis_server/test/integration/integration_tests.dart
@@ -752,7 +752,7 @@ class Server {
// and is outputting a stacktrace, because it ensures that we see the
// entire stacktrace. Use expectAsync() to prevent the test from
// ending during this 1 second.
- new Future.delayed(new Duration(seconds: 1), expectAsync(() {
+ new Future.delayed(new Duration(seconds: 1), expectAsync0(() {
fail('Bad data received from server: $details');
}));
}
« no previous file with comments | « pkg/analysis_server/pubspec.yaml ('k') | pkg/analyzer_plugin/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698