Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(946)

Unified Diff: pkg/analysis_server/test/domain_analysis_test.dart

Issue 472613002: Update analysis server and integration tests to match new ChangeContentOverlay. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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((_) {
« no previous file with comments | « pkg/analysis_server/lib/src/domain_analysis.dart ('k') | pkg/analysis_server/test/integration/analysis/test_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698