aboutsummaryrefslogtreecommitdiff
path: root/contrib/libxo/tests/core/test_02.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libxo/tests/core/test_02.c')
-rw-r--r--contrib/libxo/tests/core/test_02.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/libxo/tests/core/test_02.c b/contrib/libxo/tests/core/test_02.c
index cf98d34f1f4b..b3d5ca92e201 100644
--- a/contrib/libxo/tests/core/test_02.c
+++ b/contrib/libxo/tests/core/test_02.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014, Juniper Networks, Inc.
+ * Copyright (c) 2014-2019, Juniper Networks, Inc.
* All rights reserved.
* This SOFTWARE is licensed under the LICENSE provided in the
* ../Copyright file. By downloading, installing, copying, or otherwise
@@ -48,6 +48,12 @@ main (int argc, char **argv)
xo_open_container("data");
+ xo_emit("{kt:name/%-*.*s}{eq:flags/0x%x}",
+ 5, 5, "em0", 34883);
+
+ xo_emit("{d:/%-*.*s}{etk:name}{eq:flags/0x%x}",
+ 5, 5, "em0", "em0", 34883);
+
xo_emit("We are {{emit}}{{ting}} some {:what}\n", "braces");
xo_message("abcdef");