From: JINMEI Tatuya Date: Fri, 7 Dec 2012 04:50:48 +0000 (-0800) Subject: [2377] style fixes: folded long lines, constify X-Git-Tag: bind10-1.0.0-beta-release~24^2~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2a0e7ce76ed227a7067919a1f44cb33ccf1e826;p=thirdparty%2Fkea.git [2377] style fixes: folded long lines, constify --- diff --git a/src/lib/dns/tests/master_loader_unittest.cc b/src/lib/dns/tests/master_loader_unittest.cc index 536836c738..8598b473a7 100644 --- a/src/lib/dns/tests/master_loader_unittest.cc +++ b/src/lib/dns/tests/master_loader_unittest.cc @@ -124,7 +124,8 @@ TEST_F(MasterLoaderTest, basicLoad) { EXPECT_TRUE(errors_.empty()); EXPECT_TRUE(warnings_.empty()); - checkRR("example.org", RRType::SOA(), "ns1.example.org. admin.example.org. " + checkRR("example.org", RRType::SOA(), + "ns1.example.org. admin.example.org. " "1234 3600 1800 2419200 7200"); checkRR("example.org", RRType::NS(), "ns1.example.org."); checkRR("www.example.org", RRType::A(), "192.0.2.1"); @@ -140,7 +141,8 @@ TEST_F(MasterLoaderTest, incrementalLoad) { EXPECT_TRUE(errors_.empty()); EXPECT_TRUE(warnings_.empty()); - checkRR("example.org", RRType::SOA(), "ns1.example.org. admin.example.org. " + checkRR("example.org", RRType::SOA(), + "ns1.example.org. admin.example.org. " "1234 3600 1800 2419200 7200"); checkRR("example.org", RRType::NS(), "ns1.example.org."); @@ -176,9 +178,9 @@ TEST_F(MasterLoaderTest, invalidFile) { } struct ErrorCase { - const char* line; - const char* problem; -} error_cases[] = { + const char* const line; + const char* const problem; +} const error_cases[] = { { "www... 3600 IN A 192.0.2.1", "Invalid name" }, { "www FORTNIGHT IN A 192.0.2.1", "Invalid TTL" }, { "www 3600 XX A 192.0.2.1", "Invalid class" },