diff options
author | Jelte Jansen <jelte@isc.org> | 2012-11-29 12:04:04 +0100 |
---|---|---|
committer | Jelte Jansen <jelte@isc.org> | 2012-11-29 12:04:04 +0100 |
commit | a5683591b24d1eaf659b3820707f4de08bb59e40 (patch) | |
tree | 4e945d534b361aa2ff1d877a5930ee900f4f46fd /src/lib/dns/tests/master_lexer_token_unittest.cc | |
parent | [2374] Only recognize numbers if MasterLexer::NUMBER is set (diff) | |
download | kea-a5683591b24d1eaf659b3820707f4de08bb59e40.tar.xz kea-a5683591b24d1eaf659b3820707f4de08bb59e40.zip |
[2374] Some last cleanups
- reduced a line that was 1 character too long
- flipped order of check with isdigit()
- renamed Token::NUMBER_RANGE to Token::NUMBER_OUT_OF_RANGE
Diffstat (limited to 'src/lib/dns/tests/master_lexer_token_unittest.cc')
-rw-r--r-- | src/lib/dns/tests/master_lexer_token_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dns/tests/master_lexer_token_unittest.cc b/src/lib/dns/tests/master_lexer_token_unittest.cc index 0c13658d38..1f022dfc21 100644 --- a/src/lib/dns/tests/master_lexer_token_unittest.cc +++ b/src/lib/dns/tests/master_lexer_token_unittest.cc @@ -146,7 +146,7 @@ TEST_F(MasterLexerTokenTest, errors) { MasterLexer::Token(MasterLexer::Token::NO_TOKEN_PRODUCED). getErrorText()); EXPECT_EQ("number out of range", - MasterLexer::Token(MasterLexer::Token::NUMBER_RANGE). + MasterLexer::Token(MasterLexer::Token::NUMBER_OUT_OF_RANGE). getErrorText()); // getErrorCode/Text() isn't allowed for non number types |