summaryrefslogtreecommitdiff
path: root/tests/format/options/nested-condition/project.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/format/options/nested-condition/project.conf')
-rw-r--r--tests/format/options/nested-condition/project.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/format/options/nested-condition/project.conf b/tests/format/options/nested-condition/project.conf
new file mode 100644
index 000000000..104b89571
--- /dev/null
+++ b/tests/format/options/nested-condition/project.conf
@@ -0,0 +1,20 @@
+name: test
+
+options:
+ debug:
+ type: bool
+ description: Whether debugging is enabled
+ default: False
+ logging:
+ type: bool
+ description: Whether logging is enabled
+ default: False
+
+variables:
+ debug: 'False'
+ (?):
+ - logging:
+ # Debugging is not enabled unless logging is also enabled
+ (?):
+ - debug:
+ debug: 'True'