| Index: lib/src/runner/configuration/load.dart
|
| diff --git a/lib/src/runner/configuration/load.dart b/lib/src/runner/configuration/load.dart
|
| index 212ba34bd3177298df8a5fc70cd5b06408874515..a70fe68914c50708ff4383cc689610691e1ca7e5 100644
|
| --- a/lib/src/runner/configuration/load.dart
|
| +++ b/lib/src/runner/configuration/load.dart
|
| @@ -60,6 +60,15 @@ class _ConfigurationLoader {
|
|
|
| var timeout = _parseValue("timeout", (value) => new Timeout.parse(value));
|
|
|
| + var addTags = _getList("add_tags", (tagNode) {
|
| + _validate(tagNode, "Tags must be strings.", (value) => value is String);
|
| + _validate(
|
| + tagNode,
|
| + "Invalid tag. Tags must be (optionally hyphenated) Dart identifiers.",
|
| + (value) => value.contains(anchoredHyphenatedIdentifier));
|
| + return tagNode.value;
|
| + });
|
| +
|
| var tags = _getMap("tags", key: (keyNode) {
|
| _validate(keyNode, "tags key must be a string.",
|
| (value) => value is String);
|
| @@ -77,6 +86,7 @@ class _ConfigurationLoader {
|
| verboseTrace: verboseTrace,
|
| jsTrace: jsTrace,
|
| timeout: timeout,
|
| + addTags: addTags,
|
| tags: tags);
|
| }
|
|
|
|
|