Browse Source

[2375] Clarify comment

Michal 'vorner' Vaner 12 years ago
parent
commit
3792c2bf3c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/lib/dns/tests/master_lexer_unittest.cc

+ 2 - 1
src/lib/dns/tests/master_lexer_unittest.cc

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