summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/rspamd_rcl_test.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/rspamd_rcl_test.c b/test/rspamd_rcl_test.c
index 089f96452..c4e114409 100644
--- a/test/rspamd_rcl_test.c
+++ b/test/rspamd_rcl_test.c
@@ -34,7 +34,8 @@ const gchar *rcl_test_valid[] = {
"\"key1\": \"value;\""
"}\n",
/* Nginx like */
- "section1 { param1 = value; param2 = value, param3 = [\"value1\", value2, 100500]}\n"
+ "section1 { param1 = value; param2 = value, "
+ "section3 {param = value; param2 = value, param3 = [\"value1\", value2, 100500]}}\n"
"section2 { param1 = {key = value}, param1 = [\"key\"]}",
/* Numbers */
"key = 1s\n"
@@ -50,7 +51,11 @@ const gchar *rcl_test_valid[] = {
"key4: s1,"
"\"key5\": \"\\n\\r123\"",
/* Macros */
- "section1 {key = value; .include \"./test.cfg\"}",
+ "section1 {key = value; section {\n"
+ "param = \"value\";\n"
+ "param2 = value\n"
+ "array = [ 1, 1mb, test]}\n"
+ ".include \"./test.cfg\"}",
NULL
};