[Lex] Inline a variable in test in preparation for more similar tests. NFC.

llvm-svn: 322240
This commit is contained in:
Volodymyr Sapsai 2018-01-10 23:37:29 +00:00
parent e8db13da0a
commit cbafa59527

View File

@ -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) {