summaryrefslogtreecommitdiff
path: root/tests/data/config.valid
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/config.valid')
-rw-r--r--tests/data/config.valid39
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/data/config.valid b/tests/data/config.valid
new file mode 100644
index 000000000..1fbdd1505
--- /dev/null
+++ b/tests/data/config.valid
@@ -0,0 +1,39 @@
+/* top level leaf node */
+top-level-leaf-node foo
+
+top-level-valueless-node
+
+top-level-tag-node foo {
+ top-level-tag-node-child some-value
+}
+
+top-level-tag-node bar {
+ top-level-tag-node-child another-value
+}
+
+normal-node {
+ normal-node-child {
+ valueless-node
+ multi-node value1
+ /* valueless node comment */
+ another-valueless-node
+ multi-node value1
+ tag-node foo {
+ }
+ one-more-valueless-node
+ tag-node bar {
+ some-option some-value
+ }
+ }
+ option-with-quoted-value "some-value"
+}
+
+trailing-leaf-node-option some-value
+
+empty-node {
+}
+
+trailing-leaf-node-without-value
+
+// Trailing comment
+// Another trailing comment