| Index: pkg/analyzer/test/generated/incremental_resolver_test.dart
|
| diff --git a/pkg/analyzer/test/generated/incremental_resolver_test.dart b/pkg/analyzer/test/generated/incremental_resolver_test.dart
|
| index 44a595c2cbcb9a04c300bb2261585bdd7489d3ba..c65b545fb8e0c34adcfd4b23edf7b366c3050b0d 100644
|
| --- a/pkg/analyzer/test/generated/incremental_resolver_test.dart
|
| +++ b/pkg/analyzer/test/generated/incremental_resolver_test.dart
|
| @@ -2843,6 +2843,55 @@ main() {
|
| ''');
|
| }
|
|
|
| + void test_endOfLineComment_header_add() {
|
| + _resolveUnit(r'''
|
| +main() {
|
| + Object x;
|
| + x.foo();
|
| +}
|
| +''');
|
| + _updateAndValidate(r'''
|
| +// 000
|
| +main() {
|
| + Object x;
|
| + x.foo();
|
| +}
|
| +''');
|
| + }
|
| +
|
| + void test_endOfLineComment_header_remove() {
|
| + _resolveUnit(r'''
|
| +// 000
|
| +main() {
|
| + Object x;
|
| + x.foo();
|
| +}
|
| +''');
|
| + _updateAndValidate(r'''
|
| +main() {
|
| + Object x;
|
| + x.foo();
|
| +}
|
| +''');
|
| + }
|
| +
|
| + void test_endOfLineComment_header_update() {
|
| + _resolveUnit(r'''
|
| +// 000
|
| +main() {
|
| + Object x;
|
| + x.foo();
|
| +}
|
| +''');
|
| + _updateAndValidate(r'''
|
| +// 10
|
| +main() {
|
| + Object x;
|
| + x.foo();
|
| +}
|
| +''');
|
| + }
|
| +
|
| void test_endOfLineComment_localFunction_inTopLevelVariable() {
|
| _resolveUnit(r'''
|
| typedef int Binary(one, two, three);
|
|
|