[Gradle, JS] Fix regex on method

- Find method declaration like not containing dot
This commit is contained in:
Ilya Goncharov
2019-11-28 17:12:59 +03:00
parent 3e1fe0af92
commit 418c0496f1
@@ -137,7 +137,7 @@ export class ExactFilter implements KotlinTestsFilter {
}
// Exact filter by class name only
const regexp = RegExp(`^${escapeRegExp(this.fqn + ".")}\\w+$`);
const regexp = RegExp(`^${escapeRegExp(this.fqn + ".")}[^\.]+$`);
return regexp.test(fqn)
}
}