| Index: pkg/analysis_server/test/integration/server/set_subscriptions_invalid_service_test.dart
|
| diff --git a/pkg/analysis_server/test/integration/server/set_subscriptions_invalid_service_test.dart b/pkg/analysis_server/test/integration/server/set_subscriptions_invalid_service_test.dart
|
| index 4804ea1bd4d04072a92b30e1b1e0b7f635e49c77..721a607cdd12c49d20ff76afe9d1e51b14f0da4c 100644
|
| --- a/pkg/analysis_server/test/integration/server/set_subscriptions_invalid_service_test.dart
|
| +++ b/pkg/analysis_server/test/integration/server/set_subscriptions_invalid_service_test.dart
|
| @@ -18,9 +18,9 @@ class Test extends AbstractAnalysisServerIntegrationTest {
|
| test_setSubscriptions_invalidService() {
|
| // TODO(paulberry): verify that if an invalid service is specified, the
|
| // current subscriptions are unchanged.
|
| - return server.send("server.setSubscriptions", {
|
| - 'subscriptions': ['bogus']
|
| - }).then((_) {
|
| + return server
|
| + .send("server.setSubscriptions", {'subscriptions': ['bogus']})
|
| + .then((_) {
|
| fail('setSubscriptions should have produced an error');
|
| }, onError: (error) {
|
| // The expected error occurred.
|
|
|