Make the Ahem font available to tests. (#7725)

This commit is contained in:
Ian Hickson
2017-01-28 15:55:47 -08:00
committed by GitHub
parent 96e11e1bf1
commit 65ca387075
4 changed files with 9 additions and 8 deletions

View File

@@ -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);

View File

@@ -451,6 +451,7 @@ void main() {
'--enable-dart-profiling',
'--non-interactive',
'--enable-checked-mode',
'--use-test-fonts',
'--packages=$packages',
testPath,
]);