File tree Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,12 @@ void main() {
7777 fail ('The alias "$alias " is listed in "aliases" for two topics!' );
7878 }
7979 }
80+
81+ // Check if names are in alphabetical order
82+ final orderedNames = topics.map ((e) => e.topic).toList ()..sort ();
83+ if (orderedNames.join (',' ) != topics.map ((e) => e.topic).join (',' )) {
84+ fail ('Topic entries are not in alpahbetical order.' );
85+ }
8086 });
8187
8288 test ('topics are canonicalized' , () {
Original file line number Diff line number Diff line change 5858# The editorial guidelines are intended to evolve as we gain more experience
5959# merging/managing topics.
6060topics :
61- - topic : widget
62- description : Packages that contain Flutter widgets .
61+ - topic : form
62+ description : Packages that facilitate form display or processing .
6363 aliases :
64- - widgets
64+ - forms
65+ - topic : i18n
66+ description : Packages that facilitate internationalization.
67+ aliases :
68+ - internationalization
6569- topic : logging
6670 description : Packages for writing log messages.
6771 aliases :
@@ -72,11 +76,7 @@ topics:
7276 description : Packages that facilitate testing.
7377 aliases :
7478 - test
75- - topic : i18n
76- description : Packages that facilitate internationalization.
77- aliases :
78- - internationalization
79- - topic : form
80- description : Packages that facilitate form display or processing.
79+ - topic : widget
80+ description : Packages that contain Flutter widgets.
8181 aliases :
82- - forms
82+ - widgets
You can’t perform that action at this time.
0 commit comments