| Index: pkg/analysis_server/test/analysis/notification_errors_test.dart
|
| diff --git a/pkg/analysis_server/test/analysis/notification_errors_test.dart b/pkg/analysis_server/test/analysis/notification_errors_test.dart
|
| index 836ed9bcd4d09402b0b1bc33857f321c3c0187ff..3ff1987ed51cb3ffc780772eece3162ccdd66b7c 100644
|
| --- a/pkg/analysis_server/test/analysis/notification_errors_test.dart
|
| +++ b/pkg/analysis_server/test/analysis/notification_errors_test.dart
|
| @@ -36,6 +36,22 @@ class NotificationErrorsTest extends AbstractAnalysisTest {
|
| server.handlers = [new AnalysisDomainHandler(server),];
|
| }
|
|
|
| + test_notInAnalysisRoot() {
|
| + createProject();
|
| + String otherFile = '/other.dart';
|
| + addFile(otherFile, 'UnknownType V;');
|
| + addTestFile('''
|
| +import '/other.dart';
|
| +
|
| +main() {
|
| + print(V);
|
| +}
|
| +''');
|
| + return waitForTasksFinished().then((_) {
|
| + expect(filesErrors[otherFile], isNull);
|
| + });
|
| + }
|
| +
|
| test_ParserError() {
|
| createProject();
|
| addTestFile('library lib');
|
| @@ -67,20 +83,4 @@ main() {
|
| expect(error.type, AnalysisErrorType.STATIC_WARNING);
|
| });
|
| }
|
| -
|
| - test_notInAnalysisRoot() {
|
| - createProject();
|
| - String otherFile = '/other.dart';
|
| - addFile(otherFile, 'UnknownType V;');
|
| - addTestFile('''
|
| -import '/other.dart';
|
| -
|
| -main() {
|
| - print(V);
|
| -}
|
| -''');
|
| - return waitForTasksFinished().then((_) {
|
| - expect(filesErrors[otherFile], isNull);
|
| - });
|
| - }
|
| }
|
|
|