| Index: pkg/analysis_server/test/analysis/get_errors_test.dart
|
| diff --git a/pkg/analysis_server/test/analysis/get_errors_test.dart b/pkg/analysis_server/test/analysis/get_errors_test.dart
|
| index c2184d48a4a59c288150f651380f68e0fef1e7c3..eb66da4e0f43c487a25367f0f31ee374a809e39d 100644
|
| --- a/pkg/analysis_server/test/analysis/get_errors_test.dart
|
| +++ b/pkg/analysis_server/test/analysis/get_errors_test.dart
|
| @@ -32,19 +32,18 @@ class GetErrorsTest extends AbstractAnalysisTest {
|
| createProject();
|
| }
|
|
|
| - // TODO (danrubel) investigate why this is failing
|
| -// test_afterAnalysisComplete() {
|
| -// addTestFile('''
|
| -//main() {
|
| -// print(42)
|
| -//}
|
| -//''');
|
| -// return waitForTasksFinished().then((_) {
|
| -// return _getErrors(testFile).then((List<AnalysisError> errors) {
|
| -// expect(errors, hasLength(1));
|
| -// });
|
| -// });
|
| -// }
|
| + test_afterAnalysisComplete() {
|
| + addTestFile('''
|
| +main() {
|
| + print(42)
|
| +}
|
| +''');
|
| + return waitForTasksFinished().then((_) {
|
| + return _getErrors(testFile).then((List<AnalysisError> errors) {
|
| + expect(errors, hasLength(1));
|
| + });
|
| + });
|
| + }
|
|
|
| test_fileDoesNotExist() {
|
| String file = '$projectPath/doesNotExist.dart';
|
|
|