| Index: pkg/testing/lib/src/suite.dart
|
| diff --git a/pkg/testing/lib/src/suite.dart b/pkg/testing/lib/src/suite.dart
|
| index e8007b2d889e4ab7d3aafb8c3b35ed0d36973629..54aa7c8ca5f599a2f0c34806c9aa70fcdd24b751 100644
|
| --- a/pkg/testing/lib/src/suite.dart
|
| +++ b/pkg/testing/lib/src/suite.dart
|
| @@ -4,11 +4,9 @@
|
|
|
| library testing.suite;
|
|
|
| -import 'chain.dart' show
|
| - Chain;
|
| +import 'chain.dart' show Chain;
|
|
|
| -import 'test_dart.dart' show
|
| - TestDart;
|
| +import 'test_dart.dart' show TestDart;
|
|
|
| /// Records the properties of a test suite.
|
| abstract class Suite {
|
| @@ -79,10 +77,10 @@ class Dart extends Suite {
|
|
|
| factory Dart.fromJsonMap(Uri base, Map json, String name) {
|
| Uri uri = base.resolve(json["path"]);
|
| - List<RegExp> pattern = new List<RegExp>.from(
|
| - json["pattern"].map((String p) => new RegExp(p)));
|
| - List<RegExp> exclude = new List<RegExp>.from(
|
| - json["exclude"].map((String p) => new RegExp(p)));
|
| + List<RegExp> pattern =
|
| + new List<RegExp>.from(json["pattern"].map((String p) => new RegExp(p)));
|
| + List<RegExp> exclude =
|
| + new List<RegExp>.from(json["exclude"].map((String p) => new RegExp(p)));
|
| return new Dart(name, uri, pattern, exclude);
|
| }
|
|
|
|
|