File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ import 'package:path/path.dart' as p;
88import 'package:test/test.dart' ;
99
1010void main () {
11- test ('scss files in lib/ are exactly those referenced by style.scss ' , () async {
11+ test ('scss files in lib/ are exactly those referenced by style.scss ' ,
12+ () async {
1213 final references = (await File ('lib/style.scss' ).readAsLines ())
1314 .where ((l) => l.startsWith (r'@use' ))
1415 .map ((l) =>
@@ -20,7 +21,8 @@ void main() {
2021
2122 final files = await Directory ('lib' )
2223 .list (recursive: true )
23- .whereType <File >().where ((f) => f.path.endsWith ('.scss' ))
24+ .whereType <File >()
25+ .where ((f) => f.path.endsWith ('.scss' ))
2426 .map ((f) => p.relative (f.path, from: 'lib' ))
2527 .map ((n) => n.substring (0 , n.length - 5 )) // without the .scss extension
2628 .toSet ();
You can’t perform that action at this time.
0 commit comments