From 264381a670d61b12e791a9e74b96d44409f338a2 Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Sat, 1 Jun 2019 01:42:34 -0700 Subject: [PATCH] Default optional bool param to false (#33704) In runTests, we previously now default the optional boolean `web` parameter to false to ensure (or at least improve the odds) that the conditional on line 70 evaluates to true or false. --- packages/flutter_tools/lib/src/test/runner.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter_tools/lib/src/test/runner.dart b/packages/flutter_tools/lib/src/test/runner.dart index 4fc19cc832..796a03d94a 100644 --- a/packages/flutter_tools/lib/src/test/runner.dart +++ b/packages/flutter_tools/lib/src/test/runner.dart @@ -44,7 +44,7 @@ Future runTests( FlutterProject flutterProject, String icudtlPath, Directory coverageDirectory, - bool web, + bool web = false, }) async { // Compute the command-line arguments for package:test. final List testArgs = [];