]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5032] Fixed some wording and broken unit test
authorThomas Markwalder <tmark@isc.org>
Wed, 4 Jan 2017 18:21:06 +0000 (13:21 -0500)
committerThomas Markwalder <tmark@isc.org>
Wed, 4 Jan 2017 18:21:06 +0000 (13:21 -0500)
Fixed couple word nits

src/bin/dhcp4/tests/parser_unittest.cc
    void testFile(const std::string& fname) - removed call to
    unlink as it a: doesn't compile on my Mac and b: is not necessary

doc/examples/kea4/advanced.json
src/bin/dhcp4/tests/parser_unittest.cc

index d7bb7a432d7a79e6b0d2fa1bc538411ceab6e12a..1b0e87778a47b4b8212480d84fb6f9341cb15c41 100644 (file)
@@ -93,7 +93,7 @@
             "pools": [ { "pool": "192.0.4.1 - 192.0.4.254" } ],
             "subnet": "192.0.4.0/24",
 
-            // Sometimes the relay may use an IPv4 address that's not matching
+            // Sometimes the relay may use an IPv4 address that does not match
             // the subnet. This is discouraged, but there are valid cases when it
             // makes sense. One case is when there is a shared subnet.
             "relay": {
index 7edf6d5a155fba9c89480dffa062129d10c876db..20f6c849d87ca31d34363e665657935b69876b53 100644 (file)
@@ -233,8 +233,6 @@ void testFile(const std::string& fname) {
     ASSERT_TRUE(test_json);
 
     compareJSON(reference_json, test_json);
-
-    unlink(decommented);
 }
 
 // This test loads all available existing files. Each config is loaded
@@ -526,7 +524,7 @@ TEST(ParserTest, unicodeEscapes) {
     }
 }
 
-// This test checks that all representations of a slash is recognized properly.
+// This test checks that all representations of a slash are recognized properly.
 TEST(ParserTest, unicodeSlash) {
     // check the 4 possible encodings of solidus '/'
     ConstElementPtr result;