diff cfg.test01 @ 513:e412a39e2b7a

Add another test for configuration parsing.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 26 Dec 2019 09:10:07 +0200
parents
children 77495c646208
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cfg.test01	Thu Dec 26 09:10:07 2019 +0200
@@ -0,0 +1,31 @@
+# Configuration written by th-libs unit tests 0.2
+
+general = {
+    # A comment that
+    # spans multiple
+    # lines automatically
+    a_string_setting = "v_str1" #test
+
+    # Hex triplet value setting
+    hexval="11223344"
+
+    # A boolean value
+    boolval = no
+
+    # A string list
+    string_list = "zoo",
+
+   "foo",
+"bar"
+}
+
+another_sect = {
+    # Another section
+    boolval = yes
+    inside_sect = {
+        # Section inside a section
+        intval
+= 112
+    }
+}
+