| 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 76ee3f37174368679084bf695fd3b036e9a0cb96..431f5ed76518dc081b9c299b2312d74f99f05114 100644
|
| --- a/pkg/analysis_server/test/analysis/get_errors_test.dart
|
| +++ b/pkg/analysis_server/test/analysis/get_errors_test.dart
|
| @@ -46,16 +46,12 @@ main() {
|
| test_errorInPart() async {
|
| String libPath = '$testFolder/main.dart';
|
| String partPath = '$testFolder/main_part.dart';
|
| - addFile(
|
| - libPath,
|
| - r'''
|
| + addFile(libPath, r'''
|
| library main;
|
| part 'main_part.dart';
|
| class A {}
|
| ''');
|
| - addFile(
|
| - partPath,
|
| - r'''
|
| + addFile(partPath, r'''
|
| part of main;
|
| class A {}
|
| ''');
|
| @@ -81,9 +77,7 @@ class A {}
|
| test_fileWithoutContext() {
|
| // Broken under the new driver.
|
| String file = '/outside.dart';
|
| - addFile(
|
| - file,
|
| - '''
|
| + addFile(file, '''
|
| main() {
|
| print(42);
|
| }
|
|
|