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

Unified Diff: pkg/analysis_server/test/services/correction/sort_members_test.dart

Issue 725143004: Format and sort analyzer and analysis_server packages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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/services/correction/sort_members_test.dart
diff --git a/pkg/analysis_server/test/services/correction/sort_members_test.dart b/pkg/analysis_server/test/services/correction/sort_members_test.dart
index 6654be3db286fbec82e73ce5fbf7e5b3dd4f2950..fe55eae93d76227e241805018b325993d8e679f4 100644
--- a/pkg/analysis_server/test/services/correction/sort_members_test.dart
+++ b/pkg/analysis_server/test/services/correction/sort_members_test.dart
@@ -370,6 +370,20 @@ class C {}
''');
}
+ void test_unitMembers_class_ignoreCase() {
+ _parseTestUnit(r'''
+class C {}
+class a {}
+class B {}
+''');
+ // validate change
+ _assertSort(r'''
+class a {}
+class B {}
+class C {}
+''');
+ }
+
void test_unitMembers_classTypeAlias() {
_parseTestUnit(r'''
class M {}
@@ -386,20 +400,6 @@ class M {}
''');
}
- void test_unitMembers_class_ignoreCase() {
- _parseTestUnit(r'''
-class C {}
-class a {}
-class B {}
-''');
- // validate change
- _assertSort(r'''
-class a {}
-class B {}
-class C {}
-''');
- }
-
void test_unitMembers_directive_hasDirective() {
_parseTestUnit(r'''
library lib;

Powered by Google App Engine
This is Rietveld 408576698