| Index: pkg/analyzer/test/services/formatter_test.dart
|
| diff --git a/pkg/analyzer/test/services/formatter_test.dart b/pkg/analyzer/test/services/formatter_test.dart
|
| index 85e68aa5e4f87307a7309924652b07bee862dd16..5ebaa88869d1ed5b737370fb4a529dda43fc47cf 100644
|
| --- a/pkg/analyzer/test/services/formatter_test.dart
|
| +++ b/pkg/analyzer/test/services/formatter_test.dart
|
| @@ -184,6 +184,30 @@ main() {
|
| 'class C {\n'
|
| '}\n'
|
| );
|
| + expectCUFormatsTo(
|
| + 'main() {\n'
|
| + '// print(1);\n'
|
| + '// print(2);\n'
|
| + ' print(3);\n'
|
| + '}\n',
|
| + 'main() {\n'
|
| + '// print(1);\n'
|
| + '// print(2);\n'
|
| + ' print(3);\n'
|
| + '}\n'
|
| + );
|
| + expectCUFormatsTo(
|
| + 'class A {\n'
|
| + '// int a;\n'
|
| + '// int b;\n'
|
| + ' int c;\n'
|
| + '}\n',
|
| + 'class A {\n'
|
| + '// int a;\n'
|
| + '// int b;\n'
|
| + ' int c;\n'
|
| + '}\n'
|
| + );
|
| });
|
|
|
| test('CU - nested functions', () {
|
|
|