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

Unified Diff: pkg/analysis_server/test/analysis/notification_highlights_test.dart

Issue 612123002: Fix for highlighting 'abstract' in ClassTypeAlias. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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/analysis_server/lib/src/computer/computer_highlights.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/analysis/notification_highlights_test.dart
diff --git a/pkg/analysis_server/test/analysis/notification_highlights_test.dart b/pkg/analysis_server/test/analysis/notification_highlights_test.dart
index 7be135a9644cee3b6504fe5d7d8b929ca67bc621..773d6f65a8f17648b5c0264402c132a94d9fadbe 100644
--- a/pkg/analysis_server/test/analysis/notification_highlights_test.dart
+++ b/pkg/analysis_server/test/analysis/notification_highlights_test.dart
@@ -136,11 +136,13 @@ const AAA = 42;
test_BUILT_IN_abstract() {
addTestFile('''
abstract class A {};
+abstract class B = Object with A;
main() {
var abstract = 42;
}''');
return prepareHighlights().then((_) {
- assertHasRegion(HighlightRegionType.BUILT_IN, 'abstract class');
+ assertHasRegion(HighlightRegionType.BUILT_IN, 'abstract class A');
+ assertHasRegion(HighlightRegionType.BUILT_IN, 'abstract class B');
assertNoRegion(HighlightRegionType.BUILT_IN, 'abstract = 42');
});
}
« no previous file with comments | « pkg/analysis_server/lib/src/computer/computer_highlights.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698