From dccc689e0e666787834f45e6ab6bd972fddabf95 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Mon, 20 Mar 2023 11:50:14 -0500 Subject: configdiff: T5089: add unit test --- tests/data/config.left | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 tests/data/config.left (limited to 'tests/data/config.left') diff --git a/tests/data/config.left b/tests/data/config.left new file mode 100644 index 000000000..e57c40396 --- /dev/null +++ b/tests/data/config.left @@ -0,0 +1,36 @@ +node1 { + tag_node foo { + valueless + multi_node 'v2' + multi_node 'v1' + single 'left_val' + } + tag_node bar { + node { + single 'v0' + } + } + tag_node other { + leaf 'leaf_l' + } +} + +node3 { +} + +node2 { + sub_node_other { + single 'val' + } + sub_node { + tag_node other { + single 'val' + } + tag_node bob { + valued 'baz' + } + tag_node duff { + valued 'buz' + } + } +} -- cgit v1.2.3