Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
00256ac1
Commit
00256ac1
authored
Nov 26, 2012
by
JINMEI Tatuya
Browse files
[2375] a few trivial comment updates (fixing copy-paste errors)
parent
d25ef086
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dns/tests/master_lexer_unittest.cc
View file @
00256ac1
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment