mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-02 22:00:04 +00:00
[clangd] Log input code of failed highlighting tests. NFC
llvm-svn: 366674
This commit is contained in:
parent
f94668e336
commit
af5d3b02fb
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user