Try to fix OOB tests on at least Windows after r367642

gtest's built-in regex engine doesn't support (). Looks like it's not
needed, just remove it.

See PR42868 for more details.

llvm-svn: 367873
This commit is contained in:
Nico Weber 2019-08-05 15:04:20 +00:00
parent 0e0a1c80fb
commit 997d626de6
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ static std::string GetLeftOOBMessage(int off) {
static std::string GetRightOOBMessage(int off) {
char str[100];
// FIXME: Fix PR42868 and remove SEGV match.
sprintf(str, "(is located.*%d byte.*to the right|SEGV)", off);
sprintf(str, "is located.*%d byte.*to the right|SEGV", off);
return str;
}