[Gradle, JS] Fix regex on method
- Find method declaration like not containing dot
This commit is contained in:
@@ -137,7 +137,7 @@ export class ExactFilter implements KotlinTestsFilter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Exact filter by class name only
|
// Exact filter by class name only
|
||||||
const regexp = RegExp(`^${escapeRegExp(this.fqn + ".")}\\w+$`);
|
const regexp = RegExp(`^${escapeRegExp(this.fqn + ".")}[^\.]+$`);
|
||||||
return regexp.test(fqn)
|
return regexp.test(fqn)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user