| Index: pkg/analysis_server/test/integration/completion/get_suggestions_test.dart
|
| diff --git a/pkg/analysis_server/test/integration/completion/get_suggestions_test.dart b/pkg/analysis_server/test/integration/completion/get_suggestions_test.dart
|
| index c331079d99db9aa2015231f1023e7f29f4e9d557..0c28360f2b13fa350a2fbb08ee723a4252f803b0 100644
|
| --- a/pkg/analysis_server/test/integration/completion/get_suggestions_test.dart
|
| +++ b/pkg/analysis_server/test/integration/completion/get_suggestions_test.dart
|
| @@ -6,11 +6,15 @@ library test.integration.completion.get.suggestions;
|
|
|
| import 'dart:async';
|
|
|
| -import '../../reflective_tests.dart';
|
| import 'package:unittest/unittest.dart';
|
|
|
| +import '../../reflective_tests.dart';
|
| import '../integration_tests.dart';
|
|
|
| +main() {
|
| + runReflectiveTests(Test);
|
| +}
|
| +
|
| @ReflectiveTestCase()
|
| class Test extends AbstractAnalysisServerIntegrationTest {
|
| fail_test_getSuggestions_string_var() {
|
| @@ -26,8 +30,9 @@ main() {
|
| standardAnalysisSetup();
|
|
|
| return analysisFinished.then((_) {
|
| - return sendCompletionGetSuggestions(pathname, text.indexOf('test.') +
|
| - 'test.'.length).then((result) {
|
| + return sendCompletionGetSuggestions(
|
| + pathname,
|
| + text.indexOf('test.') + 'test.'.length).then((result) {
|
| // Since the feature doesn't work yet, just pause for a second to
|
| // collect the output of the analysis server, and then stop the test.
|
| // TODO(paulberry): finish writing the integration test once the feature
|
| @@ -45,7 +50,3 @@ main() {
|
| // TODO(paulberry): remove this.
|
| }
|
| }
|
| -
|
| -main() {
|
| - runReflectiveTests(Test);
|
| -}
|
|
|