Make the Ahem font available to tests. (#7725)
This commit is contained in:
@@ -173,7 +173,7 @@ class TestCommand extends FlutterCommand {
|
||||
testArgs.add('--');
|
||||
|
||||
Directory testDir;
|
||||
List<String> files = argResults.rest.map((String testPath) => path.absolute(testPath)).toList();
|
||||
Iterable<String> files = argResults.rest.map((String testPath) => path.absolute(testPath)).toList();
|
||||
if (argResults['start-paused']) {
|
||||
if (files.length != 1)
|
||||
throwToolExit('When using --start-paused, you must specify a single test file to run.', exitCode: 1);
|
||||
|
||||
@@ -451,6 +451,7 @@ void main() {
|
||||
'--enable-dart-profiling',
|
||||
'--non-interactive',
|
||||
'--enable-checked-mode',
|
||||
'--use-test-fonts',
|
||||
'--packages=$packages',
|
||||
testPath,
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user