fix: arguments pattern for assertion directives.

This commit is contained in:
Artem Kobzar
2022-04-07 21:09:40 +02:00
committed by teamcity
parent 86df391cab
commit 4e8082ad3a
@@ -687,7 +687,7 @@ public class DirectiveTestUtils {
private final List<String> positionalArguments = new ArrayList<>();
private final Map<String, String> namedArguments = new HashMap<>();
private final String entry;
private final Pattern argumentsPattern = Pattern.compile("\\w+(=((\".*?\")|\\w+))?");
private final Pattern argumentsPattern = Pattern.compile("\\w+(=((\".*?\")|([\\w$_])+))?");
ArgumentsHelper(@NotNull String directiveEntry) {
entry = directiveEntry;