Commit 625f0894 authored by JINMEI Tatuya's avatar JINMEI Tatuya

[2427] wording fix: removed redundant words

parent a435de0e
...@@ -405,10 +405,9 @@ MasterLoader::MasterLoaderImpl::handleInitialToken() { ...@@ -405,10 +405,9 @@ MasterLoader::MasterLoaderImpl::handleInitialToken() {
isc_throw(InternalException, "No previous name to use in " isc_throw(InternalException, "No previous name to use in "
"place of initial whitespace"); "place of initial whitespace");
} else if (!previous_name_) { } else if (!previous_name_) {
callbacks_.warning(lexer_.getSourceName(), callbacks_.warning(lexer_.getSourceName(), lexer_.getSourceLine(),
lexer_.getSourceLine(), "Ambiguous previous name for use in place of "
"Ambiguous previous name previous name for " "initial whitespace");
"use in place of initial whitespace");
} }
return (next_token); return (next_token);
} else if (initial_token.getType() == MasterToken::STRING || } else if (initial_token.getType() == MasterToken::STRING ||
......
...@@ -569,8 +569,8 @@ TEST_F(MasterLoaderTest, includeAndInitialWS) { ...@@ -569,8 +569,8 @@ TEST_F(MasterLoaderTest, includeAndInitialWS) {
EXPECT_TRUE(errors_.empty()); EXPECT_TRUE(errors_.empty());
EXPECT_EQ(1, warnings_.size()); EXPECT_EQ(1, warnings_.size());
checkCallbackMessage(warnings_.at(0), checkCallbackMessage(warnings_.at(0),
"Ambiguous previous name previous name for use in " "Ambiguous previous name for use in place of initial"
"place of initial whitespace", 3); " whitespace", 3);
checkARR("xyz.example.org"); checkARR("xyz.example.org");
checkBasicRRs(); checkBasicRRs();
checkARR("xyz.example.org"); checkARR("xyz.example.org");
......
Markdown is supported
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