Index: pkg/analyzer_plugin/test/integration/support/integration_tests.dart |
diff --git a/pkg/analyzer_plugin/test/integration/support/integration_tests.dart b/pkg/analyzer_plugin/test/integration/support/integration_tests.dart |
index 80c7a2041abb0630a90435cec030858b5ea51ace..99f7b0d9a2105fe3f8c0e19ff8a40151b695a203 100644 |
--- a/pkg/analyzer_plugin/test/integration/support/integration_tests.dart |
+++ b/pkg/analyzer_plugin/test/integration/support/integration_tests.dart |
@@ -719,7 +719,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'); |
})); |
} |