summaryrefslogtreecommitdiff
path: root/tests/data/config.valid
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:38:01 +0100
commit0a10a3bd9d346b1abdf88301d6904a5346ffe6d0 (patch)
treee5221a6dee5a0e1afe55a7a2cf7e1d0985a3cb59 /tests/data/config.valid
parentedfe3f1f42b419a3c96e53bbcbc3d5a4af34e0b9 (diff)
downloadvyos-1x-0a10a3bd9d346b1abdf88301d6904a5346ffe6d0.tar.gz
vyos-1x-0a10a3bd9d346b1abdf88301d6904a5346ffe6d0.zip
[vyos.configtree] T1305: allow configs to end with leaf nodes.
Diffstat (limited to 'tests/data/config.valid')
-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 */