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:
Masayuki Igawa 2016-02-22 12:12:38 -05:00
parent 83439fac2e
commit 75d14d5e2a
1 changed files with 1 additions and 1 deletions

View File

@ -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) {