]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: update comment style & drop one extraneous newline
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 14 Dec 2023 10:40:13 +0000 (11:40 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 14 Dec 2023 22:08:44 +0000 (23:08 +0100)
Follow-up to 9fb2a61830.

src/test/test-bootspec.c

index 18611fc051fdd6fb54e9b9e4d31b05b10320abc5..86d7702bf8a615fbd06ee1230cf2ea026ef5e0f7 100644 (file)
@@ -188,23 +188,22 @@ TEST_RET(bootspec_boot_config_find_entry) {
         assert_se(boot_config_load(&config, d, NULL) >= 0);
         assert_se(config.n_entries == 2);
 
-        // Test finding the first entry
+        /* Test finding the first entry */
         BootEntry *entry = boot_config_find_entry(&config, "a-10.conf");
         assert_se(entry && streq(entry->id, "a-10.conf"));
 
-        // Test finding the second entry
+        /* Test finding the second entry */
         entry = boot_config_find_entry(&config, "a-05.conf");
         assert_se(entry && streq(entry->id, "a-05.conf"));
 
-        // Test finding a non-existent entry
+        /* Test finding a non-existent entry */
         entry = boot_config_find_entry(&config, "nonexistent.conf");
         assert_se(entry == NULL);
 
-        // Test case-insensitivity
+        /* Test case-insensitivity */
         entry = boot_config_find_entry(&config, "A-10.CONF");
         assert_se(entry && streq(entry->id, "a-10.conf"));
 
-
         return 0;
 }