Commit 00256ac1 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2375] a few trivial comment updates (fixing copy-paste errors)

parent d25ef086
......@@ -185,13 +185,13 @@ TEST_F(MasterLexerTest, getUnbalancedParen) {
EXPECT_EQ(MasterLexer::Token::END_OF_FILE, lexer.getNextToken().getType());
}
// Check we properly return error when there's an opened parentheses and no
// Check we properly return error when there's an opened quoted string and no
// closing one
TEST_F(MasterLexerTest, getUnbalancedString) {
ss << "\"string";
lexer.pushSource(ss);
// Then an unbalanced parenthesis
// Then an unbalanced qstring (reported as an unexpected end)
EXPECT_EQ(MasterLexer::Token::UNEXPECTED_END,
lexer.getNextToken(MasterLexer::QSTRING).getErrorCode());
// And then EOF
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment