aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test.ini')
-rw-r--r--tests/test.ini42
1 files changed, 39 insertions, 3 deletions
diff --git a/tests/test.ini b/tests/test.ini
index 5c218d0..46710f0 100644
--- a/tests/test.ini
+++ b/tests/test.ini
@@ -1,4 +1,30 @@
- [A BBCD]
+
+
+# Comments can be '#' or ';'
+
+;Global variables are allowed
+global1 = 11
+global2 = aaa
+
+; The First character of Section or Parameter name should be alphanumerical,
+; another caharacters can ba Alphanumerical or dot(.)/underscore(_)/hyphen(-)
+[Sections.are_ASCII-characters]
+
+; Parameter values, withourt double quotation mark (")
+; ban be like Sections!
+parameter_names.also-ASCII = first.value-like_ascii
+
+; For value characters, the Space, or any other special character allowed only between two double-quotation-mark sign.
+; Escaped characters, (\n, \t, etc.) or multi-byte characters (é, €, カ, ⠋, ঘঃ, 😍) are allowed here.
+parameter2 = "I like \t emojis 😍 but, don't like mosquitoes カ ! :)"
+
+; Even!
+parameter3 = "With double quotation mark \
+I can write multiline values, but I shoud \
+escapse the trailing newline with '\' sign!
+"
+
+ [A B€BCD]
ghijkl=val1 ; komment
ghijkl = val2 ;kom1
ghijkl = val3;kom3
@@ -10,8 +36,10 @@ eee =
fff=
aa=
#commt
- ;#//sdfsdf//
-
+--- ;#//sdfsdf//
+[é]
+aaa=bbb
+cc="=dd"
[test2];#coment
ggg = aaa #commnta
;ad = "123456\
@@ -19,3 +47,11 @@ ggg = aaa #commnta
;wqeweq \
;aabcd=efgh "
+ ;fghfgh
+#####;
+;abcdefghijklmnopqrst
+;;;;
+### Test confi\ng
+abc=
+ ;.
+