Fix regex for test ID noise removal
This commit fixes the regex for test ID noise removal. A space character is needed after the 'setUp|tearDown' string. Change-Id: I9db3cfb04cdb474777e8ee0912835e4aaf7d0adb
This commit is contained in:
parent
83439fac2e
commit
75d14d5e2a
|
@ -8,7 +8,7 @@ function TestService() {
|
|||
var service = {};
|
||||
|
||||
service.removeIdNoise = function(testId) {
|
||||
return testId.replace(/(?:setUp|tearDown)Class\((.+)\)/, '$1');
|
||||
return testId.replace(/(?:setUp|tearDown)Class \((.+)\)/, '$1');
|
||||
};
|
||||
|
||||
service.getShortName = function(testId) {
|
||||
|
|
Loading…
Reference in New Issue