Index: tools/testing/dart/test_suite.dart |
=================================================================== |
--- tools/testing/dart/test_suite.dart (revision 13683) |
+++ tools/testing/dart/test_suite.dart (working copy) |
@@ -224,8 +224,8 @@ |
this.suiteName, |
Path suiteDirectory, |
this.statusFilePaths, |
- [this.isTestFilePredicate, |
- bool recursive = false]) |
+ {this.isTestFilePredicate, |
+ bool recursive: false}) |
: dartDir = TestUtils.dartDir(), _listRecursive = recursive, |
suiteDir = TestUtils.dartDir().join(suiteDirectory); |
@@ -263,7 +263,7 @@ |
return new StandardTestSuite(configuration, |
name, directory, |
['$directory/$name.status', '$directory/${name}_dart2js.status'], |
- (filename) => filename.endsWith('_test.dart'), |
+ isTestFilePredicate: (filename) => filename.endsWith('_test.dart'), |
recursive: true); |
} |