aboutsummaryrefslogtreecommitdiff
path: root/contrib/libxo/tests/core/test_02.c
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2019-05-13 18:25:55 +0000
committerAlan Somers <asomers@FreeBSD.org>2019-05-13 18:25:55 +0000
commit7648bc9fee8dec6cb3c4941e0165a930fbe8dcb0 (patch)
treeca719c54da5b3133ae25fe32bba5b0dac584e56e /contrib/libxo/tests/core/test_02.c
parent8350cbd8d64924fc1673eb4735ac7220bf5dfd37 (diff)
parentaf1f58df9938e12acbe5fab69890c59684415902 (diff)
Notes
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");