]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3811] fixed indentation
authorRazvan Becheriu <razvan@isc.org>
Wed, 2 Apr 2025 19:50:49 +0000 (22:50 +0300)
committerRazvan Becheriu <razvan@isc.org>
Wed, 2 Apr 2025 19:50:49 +0000 (22:50 +0300)
src/hooks/dhcp/subnet_cmds/tests/subnet4_cmds_unittest.cc
src/hooks/dhcp/subnet_cmds/tests/subnet6_cmds_unittest.cc

index 1eeb58177095a16249352d05a8d4a9503f8b2921..92a29177e0549b76d41340777f600f40ce48681f 100644 (file)
@@ -1758,24 +1758,24 @@ TEST_F(Subnet4CmdsTest, subnet4List) {
                                            CONTROL_RESULT_SUCCESS,
                                            "3 IPv4 subnets found");
 
-    // Verify that the returned response has the expected subnets. 
+    // Verify that the returned response has the expected subnets.
     std::string exp_args=R"(
         {
-          "subnets": [
+            "subnets": [
             {
-              "id": 5,
-              "shared-network-name": "net1",
-              "subnet": "10.0.0.0/8"
+                "id": 5,
+                "shared-network-name": "net1",
+                "subnet": "10.0.0.0/8"
             },
             {
-              "id": 10,
-              "shared-network-name": null,
-              "subnet": "192.168.50.0/24"
+                "id": 10,
+                "shared-network-name": null,
+                "subnet": "192.168.50.0/24"
             },
             {
-              "id": 123,
-              "shared-network-name": "net2",
-              "subnet": "192.0.2.0/29"
+                "id": 123,
+                "shared-network-name": "net2",
+                "subnet": "192.0.2.0/29"
             }
           ]
         }
index 54f1e584fe19a0fbc505272b0936b9984f34ded7..0c15359126873fe33a28d42462e162f8b060fb90 100644 (file)
@@ -2449,26 +2449,27 @@ TEST_F(Subnet6CmdsTest, subnet6List) {
                                            CONTROL_RESULT_SUCCESS,
                                            "3 IPv6 subnets found");
 
-    // Verify that the returned response has the expected subnets. 
+    // Verify that the returned response has the expected subnets.
     std::string exp_args=R"(
-    {
-        "subnets": [
-        {
-            "id": 9,
-            "shared-network-name": "net1",
-            "subnet": "3000::/16"
-        },
-        {
-            "id": 11,
-            "shared-network-name": null,
-            "subnet": "3001:23::/92"
-        },
         {
-            "id": 1023,
-            "shared-network-name": "net2",
-            "subnet": "2001:db8:1::/64"
-        }]
-    }
+            "subnets": [
+            {
+                "id": 9,
+                "shared-network-name": "net1",
+                "subnet": "3000::/16"
+            },
+            {
+                "id": 11,
+                "shared-network-name": null,
+                "subnet": "3001:23::/92"
+            },
+            {
+                "id": 1023,
+                "shared-network-name": "net2",
+                "subnet": "2001:db8:1::/64"
+            }
+          ]
+        }
     )";
 
     ASSERT_NO_FATAL_FAILURE(checkResponseArgs(response, exp_args));