[tool] Remove some usages of deprecated usage package (#151359)
Partially addresses https://github.com/flutter/flutter/issues/150575 and https://github.com/flutter/flutter/issues/150665 Will require a g3fix.
This commit is contained in:
@@ -912,9 +912,8 @@ Future<void> verifyNoTestImports(String workingDirectory) async {
|
||||
}
|
||||
// Fail if any errors
|
||||
if (errors.isNotEmpty) {
|
||||
final String s = errors.length == 1 ? '' : 's';
|
||||
foundError(<String>[
|
||||
'${bold}The following file$s import a test directly. Test utilities should be in their own file.$reset',
|
||||
'${bold}The following file(s) import a test directly. Test utilities should be in their own file.$reset',
|
||||
...errors,
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user