chore: fixe rest of comments tests.

This commit is contained in:
Artem Kobzar
2022-04-08 01:38:12 +02:00
committed by teamcity
parent f5e7b9886c
commit 7d7490eaa7
3 changed files with 3 additions and 1 deletions
@@ -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;
@@ -1,5 +1,6 @@
function test(n) {
var result;
/*synthetic*/
result = n >= 0 ? n : -n;
return result;
}
@@ -1,4 +1,5 @@
function test(n) {
/*synthetic*/
return n >= 0 ? n : -n;
}