Index: tools/testing/dart/test_suite.dart |
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart |
index d4100d5e4068ac40d6161a7ece6d03024e9f1930..a17fbf773631535997940f712028b6ef6498ac7d 100644 |
--- a/tools/testing/dart/test_suite.dart |
+++ b/tools/testing/dart/test_suite.dart |
@@ -636,10 +636,8 @@ class StandardTestSuite extends TestSuite { |
* particular, if you add 'path/to/mytestsuite' to [TEST_SUITE_DIRECTORIES] |
* in test.dart, this will all be set up for you. |
*/ |
- factory StandardTestSuite.forDirectory(Map configuration, Path directory, |
- [String name]) { |
- if (name == null) name = directory.filename; |
- |
+ factory StandardTestSuite.forDirectory(Map configuration, Path directory) { |
+ var name = directory.filename; |
var status_paths = ['$directory/$name.status', |
'$directory/.status', |
'$directory/${name}_dart2js.status', |