| Index: pkg/analyzer/test/src/context/context_test.dart
|
| diff --git a/pkg/analyzer/test/src/context/context_test.dart b/pkg/analyzer/test/src/context/context_test.dart
|
| index 12f6fa7873ffd4f9a54b2432b4f91814c04b9290..5519092e1df8ed4f461adb5dc2fb0eb16bbffd29 100644
|
| --- a/pkg/analyzer/test/src/context/context_test.dart
|
| +++ b/pkg/analyzer/test/src/context/context_test.dart
|
| @@ -56,6 +56,21 @@ main() {
|
|
|
| @reflectiveTest
|
| class AnalysisContextImplTest extends AbstractContextTest {
|
| + void fail_getErrors_html_some() {
|
| + Source source = addSource(
|
| + "/test.html",
|
| + r'''
|
| +<html><head>
|
| +<script type='application/dart' src='test.dart'/>
|
| +</head></html>''');
|
| + AnalysisErrorInfo errorInfo = context.getErrors(source);
|
| + expect(errorInfo, isNotNull);
|
| + List<AnalysisError> errors = errorInfo.errors;
|
| + expect(errors, hasLength(0));
|
| + errors = context.computeErrors(source);
|
| + expect(errors, hasLength(2));
|
| + }
|
| +
|
| Future fail_implicitAnalysisEvents_removed() async {
|
| AnalyzedSourcesListener listener = new AnalyzedSourcesListener();
|
| context.implicitAnalysisEvents.listen(listener.onData);
|
| @@ -902,21 +917,6 @@ class A {
|
| expect(errors, hasLength(0));
|
| }
|
|
|
| - void test_getErrors_html_some() {
|
| - Source source = addSource(
|
| - "/test.html",
|
| - r'''
|
| -<html><head>
|
| -<script type='application/dart' src='test.dart'/>
|
| -</head></html>''');
|
| - AnalysisErrorInfo errorInfo = context.getErrors(source);
|
| - expect(errorInfo, isNotNull);
|
| - List<AnalysisError> errors = errorInfo.errors;
|
| - expect(errors, hasLength(0));
|
| - errors = context.computeErrors(source);
|
| - expect(errors, hasLength(2));
|
| - }
|
| -
|
| void test_getHtmlFilesReferencing_html() {
|
| Source htmlSource = addSource(
|
| "/test.html",
|
|
|