]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2375] Clarify comment
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Mon, 19 Nov 2012 16:35:54 +0000 (17:35 +0100)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Mon, 19 Nov 2012 16:35:54 +0000 (17:35 +0100)
src/lib/dns/tests/master_lexer_unittest.cc

index 1c6e77549ac971ece3a3340a331cf93052abb06d..68fd7c019ea9b45a1a220eb4805efff12a0692ad 100644 (file)
@@ -330,7 +330,8 @@ TEST_F(MasterLexerTest, ungetSimple) {
     EXPECT_EQ(1, state->getParenCount(lexer));
     EXPECT_TRUE(state->wasLastEOL(lexer));
     // By calling getToken again, we verify even the source got back to
-    // original. We must push it as a fake start again so it is picked.
+    // original (as the second fake state checks it gets "234"). We must
+    // push it as a fake start again so it is picked.
     lexer.pushFakeStart(state.get());
     EXPECT_EQ(MasterLexer::Token::END_OF_LINE, lexer.getNextToken().getType());
     EXPECT_EQ(2, state->getParenCount(lexer));