Index: pkg/analysis_server/test/domain_analysis_test.dart |
diff --git a/pkg/analysis_server/test/domain_analysis_test.dart b/pkg/analysis_server/test/domain_analysis_test.dart |
index a8c725068f68bf563fe2dadb057e6b1e6b914e02..a41836f045e2f4c0a7a98ee4b7ff86d88b18ec85 100644 |
--- a/pkg/analysis_server/test/domain_analysis_test.dart |
+++ b/pkg/analysis_server/test/domain_analysis_test.dart |
@@ -218,9 +218,11 @@ testUpdateContent() { |
// update code |
helper.sendContentChange({ |
TYPE: CHANGE, |
- REPLACEMENT: 'lib', |
- OFFSET: 'library '.length, |
- LENGTH: 'A;'.length, |
+ EDITS: [{ |
+ REPLACEMENT: 'lib', |
+ OFFSET: 'library '.length, |
+ LENGTH: 'A;'.length |
+ }] |
}); |
// wait, there is an error |
return helper.waitForOperationsFinished().then((_) { |