[ParserTest] Move raw string literal out of macro

Some combinations of gcc and ccache do not deal well with raw strings in
macros. Moving the string out to attempt to fix the bots.
This commit is contained in:
David Green 2020-01-05 11:23:35 +00:00
parent 4e37d60f2a
commit 170de3de2e
1 changed files with 3 additions and 3 deletions

View File

@ -437,9 +437,9 @@ decl()))matcher";
)matcher";
M = Parser::parseMatcherExpression(Code, nullptr, nullptr, &Error);
EXPECT_FALSE(M.hasValue());
EXPECT_EQ(R"error(1:1: Error parsing argument 1 for matcher varDecl.
2:3: Matcher not found: doesNotExist)error",
Error.toStringFull());
StringRef Expected = R"error(1:1: Error parsing argument 1 for matcher varDecl.
2:3: Matcher not found: doesNotExist)error";
EXPECT_EQ(Expected, Error.toStringFull());
}
}