[clangd] Log input code of failed highlighting tests. NFC

llvm-svn: 366674
This commit is contained in:
Ilya Biryukov 2019-07-22 10:05:11 +00:00
parent f94668e336
commit af5d3b02fb

View File

@ -50,7 +50,8 @@ void checkHighlightings(llvm::StringRef Code) {
}
auto ActualTokens = getSemanticHighlightings(AST);
EXPECT_THAT(ActualTokens, testing::UnorderedElementsAreArray(ExpectedTokens));
EXPECT_THAT(ActualTokens, testing::UnorderedElementsAreArray(ExpectedTokens))
<< "Inputs is:\n" << Code;
}
TEST(SemanticHighlighting, GetsCorrectTokens) {