| Index: pkg/analysis_server/test/analysis_server_test.dart
|
| diff --git a/pkg/analysis_server/test/analysis_server_test.dart b/pkg/analysis_server/test/analysis_server_test.dart
|
| index af36f04a87b37bdb9915981d3aaeed67501f44d3..5b4efed18ee8a48fa9d9c8b5e2cab28a010901d6 100644
|
| --- a/pkg/analysis_server/test/analysis_server_test.dart
|
| +++ b/pkg/analysis_server/test/analysis_server_test.dart
|
| @@ -529,28 +529,6 @@ analyzer:
|
| });
|
| }
|
|
|
| - test_watch_modifyFile_hasOverlay() async {
|
| - server.serverServices.add(ServerService.STATUS);
|
| - // configure the project
|
| - String projectPath = '/root';
|
| - String filePath = '/root/test.dart';
|
| - resourceProvider.newFolder(projectPath);
|
| - resourceProvider.newFile(filePath, '// 111');
|
| - server.setAnalysisRoots('0', ['/root'], [], {});
|
| - await pumpEventQueue();
|
| - // add overlay
|
| - server.updateContent('1', {filePath: new AddContentOverlay('// 222')});
|
| - await pumpEventQueue();
|
| - // update the file
|
| - channel.notificationsReceived.clear();
|
| - resourceProvider.modifyFile(filePath, '// 333');
|
| - await pumpEventQueue();
|
| - // the file has an overlay, so the file-system change was ignored
|
| - expect(channel.notificationsReceived.any((notification) {
|
| - return notification.event == SERVER_STATUS;
|
| - }), isFalse);
|
| - }
|
| -
|
| void _assertContextOfFolder(
|
| AnalysisContext context, String expectedFolderPath) {
|
| Folder expectedFolder = resourceProvider.newFolder(expectedFolderPath);
|
|
|