]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
unit1300: fix checksrc longline warnings
authorJay Satiro <raysatiro@yahoo.com>
Wed, 21 Aug 2024 06:30:50 +0000 (02:30 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Wed, 21 Aug 2024 07:37:29 +0000 (03:37 -0400)
Closes https://github.com/curl/curl/pull/14624

tests/unit/unit1300.c

index e408f5ecc21ae825d12b688761012eba8aa932a2..60a0a0e1b8cd9eebf716f0dd3a44852e50d44479 100644 (file)
@@ -73,9 +73,12 @@ UNITTEST_START
    * 4: list dtor will be NULL
   */
 
-  fail_unless(Curl_llist_count(&llist) == 0, "list initial size should be zero");
-  fail_unless(Curl_llist_head(&llist) == NULL, "list head should initiate to NULL");
-  fail_unless(Curl_llist_tail(&llist) == NULL, "list tail should initiate to NULL");
+  fail_unless(Curl_llist_count(&llist) == 0,
+              "list initial size should be zero");
+  fail_unless(Curl_llist_head(&llist) == NULL,
+              "list head should initiate to NULL");
+  fail_unless(Curl_llist_tail(&llist) == NULL,
+              "list tail should initiate to NULL");
 
   /**
    * testing Curl_llist_insert_next
@@ -87,7 +90,8 @@ UNITTEST_START
    * 3: list tail will be the same as list head
    */
 
-  Curl_llist_insert_next(&llist, Curl_llist_head(&llist), &unusedData_case1, &case1_list);
+  Curl_llist_insert_next(&llist, Curl_llist_head(&llist), &unusedData_case1,
+                         &case1_list);
 
   fail_unless(Curl_llist_count(&llist) == 1,
               "List size should be 1 after adding a new element");