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

Unified Diff: pkg/analyzer/test/src/task/incremental_element_builder_test.dart

Issue 2136853002: Adding/removing 'abstract' keyword is not a class delta change. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « pkg/analyzer/lib/src/task/incremental_element_builder.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/task/incremental_element_builder_test.dart
diff --git a/pkg/analyzer/test/src/task/incremental_element_builder_test.dart b/pkg/analyzer/test/src/task/incremental_element_builder_test.dart
index 77aff5b9fc91b332cfe618eb75fff2a638ef59df..a605a69cd4f6ce4acebb0d172170c66fb583b2e4 100644
--- a/pkg/analyzer/test/src/task/incremental_element_builder_test.dart
+++ b/pkg/analyzer/test/src/task/incremental_element_builder_test.dart
@@ -685,6 +685,26 @@ class A {
expect(helper.delta.removedMethods, unorderedEquals([oldElementA]));
}
+ test_classDelta_null_abstractKeyword_add() {
+ _verifyNoClassDeltaForTheLast(
+ r'''
+class A {}
+''',
+ r'''
+abstract class A {}
+''');
+ }
+
+ test_classDelta_null_abstractKeyword_remove() {
+ _verifyNoClassDeltaForTheLast(
+ r'''
+abstract class A {}
+''',
+ r'''
+class A {}
+''');
+ }
+
test_classDelta_null_extendsClause_add() {
_verifyNoClassDeltaForTheLast(
r'''
« no previous file with comments | « pkg/analyzer/lib/src/task/incremental_element_builder.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698