From 0541640e3793cf97a97437075b49e0228c446c80 Mon Sep 17 00:00:00 2001 From: Alexander Thomas Date: Tue, 12 Feb 2019 18:40:38 +0000 Subject: [PATCH] [testing] Create list from test list iterable This fixes a bug in test.py's new --tests option. Change-Id: I0410972116045c612429565081ad84735d2d2bf1 Reviewed-on: https://dart-review.googlesource.com/c/92784 Auto-Submit: Alexander Thomas Commit-Queue: William Hesse Reviewed-by: William Hesse --- tools/testing/dart/options.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/dart/options.dart b/tools/testing/dart/options.dart index 0f0a7893fdb..8593b595c9d 100644 --- a/tools/testing/dart/options.dart +++ b/tools/testing/dart/options.dart @@ -513,7 +513,7 @@ compiler.''', if (configuration.containsKey('test_list_contents')) { _fail('--tests and --test-list cannot be used together'); } - configuration['test_list_contents'] = LineSplitter.split(tests); + configuration['test_list_contents'] = LineSplitter.split(tests).toList(); } return _createConfigurations(configuration);