mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-03 22:41:47 +00:00
[Lex] Inline a variable in test in preparation for more similar tests. NFC.
llvm-svn: 322240
This commit is contained in:
parent
e8db13da0a
commit
cbafa59527
@ -474,8 +474,7 @@ TEST_F(LexerTest, GetBeginningOfTokenWithEscapedNewLine) {
|
||||
}
|
||||
|
||||
TEST_F(LexerTest, AvoidPastEndOfStringDereference) {
|
||||
std::vector<Token> LexedTokens = Lex(" // \\\n");
|
||||
EXPECT_TRUE(LexedTokens.empty());
|
||||
EXPECT_TRUE(Lex(" // \\\n").empty());
|
||||
}
|
||||
|
||||
TEST_F(LexerTest, StringizingRasString) {
|
||||
|
Loading…
Reference in New Issue
Block a user