aboutsummaryrefslogtreecommitdiffstats
path: root/src/ucl/tests/test_generate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ucl/tests/test_generate.c')
-rw-r--r--src/ucl/tests/test_generate.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ucl/tests/test_generate.c b/src/ucl/tests/test_generate.c
index a61b35396..f269e00dc 100644
--- a/src/ucl/tests/test_generate.c
+++ b/src/ucl/tests/test_generate.c
@@ -83,6 +83,13 @@ main (int argc, char **argv)
obj = ucl_object_insert_key (obj, cur, "key10", 0, false);
cur = ucl_object_fromstring_common (" off ", 0, UCL_STRING_PARSE | UCL_STRING_TRIM);
obj = ucl_object_insert_key (obj, cur, "key11", 0, false);
+ cur = ucl_object_fromstring_common ("gslin@gslin.org", 0, UCL_STRING_PARSE_INT);
+ obj = ucl_object_insert_key (obj, cur, "key12", 0, false);
+ cur = ucl_object_fromstring_common ("#test", 0, UCL_STRING_PARSE_INT);
+ obj = ucl_object_insert_key (obj, cur, "key13", 0, false);
+ cur = ucl_object_frombool (true);
+ obj = ucl_object_insert_key (obj, cur, "k=3", 0, false);
+
emitted = ucl_object_emit (obj, UCL_EMIT_CONFIG);