enable no_literal_bool_comparisons lint (#126647)

This commit is contained in:
Michael Goderbauer
2023-05-16 18:14:23 +02:00
committed by GitHub
parent b45f9b36e8
commit 5e1ba701ed
46 changed files with 79 additions and 79 deletions

View File

@@ -809,7 +809,7 @@ Future<void> _runFrameworkTests() async {
final List<String> tests = Directory(path.join(flutterRoot, 'packages', 'flutter', 'test'))
.listSync(followLinks: false)
.whereType<Directory>()
.where((Directory dir) => dir.path.endsWith('widgets') == false)
.where((Directory dir) => !dir.path.endsWith('widgets'))
.map<String>((Directory dir) => path.join('test', path.basename(dir.path)) + path.separator)
.toList();
printProgress('${green}Running packages/flutter tests$reset for $cyan${tests.join(", ")}$reset');