Browse Source

[2428] Some minor cleanups

Jelte Jansen 12 years ago
parent
commit
ea9d025cbc
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/lib/dns/master_loader.cc
  2. 1 1
      src/lib/dns/tests/master_loader_unittest.cc

+ 1 - 1
src/lib/dns/master_loader.cc

@@ -43,7 +43,7 @@ public:
     {}
 };
 
-}
+} // end unnamed namespace
 
 class MasterLoader::MasterLoaderImpl {
 public:

+ 1 - 1
src/lib/dns/tests/master_loader_unittest.cc

@@ -284,7 +284,7 @@ struct ErrorCase {
     // so we see the $ is actually special.
     { "$UNKNOWN 3600    IN  A   192.0.2.1", "Unknown $ directive" },
     { "$INCLUD " TEST_DATA_SRCDIR "/example.org", "Include too short" },
-    { "$INCLUDES " TEST_DATA_SRCDIR "/example.org", "Include too short" },
+    { "$INCLUDES " TEST_DATA_SRCDIR "/example.org", "Include too long" },
     { "$INCLUDE", "Missing include path" },
     { "$INCLUDE /file/not/found", "Include file not found" },
     { "$INCLUDE /file/not/found and here goes bunch of garbage",