@@ -101,8 +101,11 @@ void main() {
101101 'isLoggedIn' ,
102102 'isLoggedOut' ,
103103 ]) {
104- expect (src, contains ('bool $fn ()' ),
105- reason: 'missing helper $fn ' ,);
104+ expect (
105+ src,
106+ contains ('bool $fn ()' ),
107+ reason: 'missing helper $fn ' ,
108+ );
106109 }
107110 });
108111
@@ -117,8 +120,7 @@ void main() {
117120 });
118121
119122 group ('Template Dart syntax sanity' , () {
120- File templateFile (String name) =>
121- File ('$_templatesDir /$name ' );
123+ File templateFile (String name) => File ('$_templatesDir /$name ' );
122124
123125 void expectBalanced (String src, String label) {
124126 // Strip markdown fence + placeholders to make brace counting more
@@ -179,7 +181,8 @@ void main() {
179181 });
180182
181183 group ('Interpolator placeholder coverage' , () {
182- final src = File ('lib/src/generate_screen_bindings.dart' ).readAsStringSync ();
184+ final src =
185+ File ('lib/src/generate_screen_bindings.dart' ).readAsStringSync ();
183186
184187 final wellKnownPlaceholders = {
185188 '___WIDGET_NAME___' ,
@@ -210,8 +213,11 @@ void main() {
210213
211214 for (final ph in wellKnownPlaceholders) {
212215 test ('generate_screen_bindings.dart registers $ph ' , () {
213- expect (src, contains ("'$ph '" ),
214- reason: '$ph should appear as a registered interpolator key' ,);
216+ expect (
217+ src,
218+ contains ("'$ph '" ),
219+ reason: '$ph should appear as a registered interpolator key' ,
220+ );
215221 });
216222 }
217223 });
0 commit comments