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'); |
})); |
} |