diff tests.c @ 509:b506bff0a7ab

Some cleanup work and refactoring on the configuration file parser and writer.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 26 Dec 2019 08:10:54 +0200
parents fe5e7bf704e5
children 5c3bfe034915
line wrap: on
line diff
--- a/tests.c	Thu Dec 26 08:06:38 2019 +0200
+++ b/tests.c	Thu Dec 26 08:10:54 2019 +0200
@@ -398,7 +398,7 @@
     // Create the configuration structure
     tprint(2, "Creating configuration structure\n");
     sect1 = NULL;
-    th_cfg_add_comment(&sect1, "A comment");
+    th_cfg_add_comment(&sect1, "A comment that\nspans multiple\nlines automatically");
     th_cfg_add_string(&sect1, "a_string_setting", &v_str1, "v_str1");
 
     th_cfg_add_comment(&sect1, "Hex triplet value setting");