summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-03-17 21:36:55 +0100
committerDaniil Baturin <daniil@baturin.org>2019-03-17 21:36:55 +0100
commit592491b377261fe41fc3048ca50ae5829da821c8 (patch)
tree4092a3b3c4c8d32473031c94c2e5c2f37bf308ba /tests
parentdfe130541ccdd3c8fdedd90b9ef4762f6babd5c6 (diff)
downloadvyos-1x-592491b377261fe41fc3048ca50ae5829da821c8.tar.gz
vyos-1x-592491b377261fe41fc3048ca50ae5829da821c8.zip
[vyos.configtree] T1305: allow configs to end with leaf nodes.
Diffstat (limited to 'tests')
-rw-r--r--tests/data/config.valid10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/data/config.valid b/tests/data/config.valid
index 353e96df4..a21c6a4d1 100644
--- a/tests/data/config.valid
+++ b/tests/data/config.valid
@@ -27,3 +27,13 @@ normal-node {
}
option-with-quoted-value "some-value"
}
+
+trailing-leaf-node-option some-value
+
+empty-node {
+}
+
+trailing-leaf-node-without-value
+
+/* Trailing commend */
+/* Another trailing comment */