forked from OSchip/llvm-project
[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:
parent
4e37d60f2a
commit
170de3de2e
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue