Index: pkg/analysis_server/test/analysis/notification_navigation_test.dart |
diff --git a/pkg/analysis_server/test/analysis/notification_navigation_test.dart b/pkg/analysis_server/test/analysis/notification_navigation_test.dart |
index 5e66eca77f7f05dc3bd2bbfdfe7f91356e16410c..68b347c18197d2092fccf8bd7d4b3b401c031605 100644 |
--- a/pkg/analysis_server/test/analysis/notification_navigation_test.dart |
+++ b/pkg/analysis_server/test/analysis/notification_navigation_test.dart |
@@ -777,8 +777,11 @@ main() { |
} |
'''); |
return prepareNavigation().then((_) { |
+ assertHasOperatorRegion('[0', 1, '[](index)', 2); |
assertHasOperatorRegion('] // []', 1, '[](index)', 2); |
+ assertHasOperatorRegion('[1', 1, '[]=(index,', 3); |
assertHasOperatorRegion('] = 1;', 1, '[]=(index,', 3); |
+ assertHasOperatorRegion('[2', 1, '[]=(index,', 3); |
assertHasOperatorRegion('] += 2;', 1, '[]=(index,', 3); |
assertHasOperatorRegion('+= 2;', 2, '+(other)', 1); |
}); |