test/test_files/prefstest.yaml in cliutils-1.2.5 vs test/test_files/prefstest.yaml in cliutils-1.2.6
- old
+ new
@@ -1,10 +1,11 @@
prompts:
- prompt: Batman or Superman?
default: Batman
config_key: superhero
config_section: personal_info
+ options: ['Batman', 'Superman']
- prompt: Do you feel smart for preferring Batman?
default: Y
config_key: batman_answer
config_section: personal_info
prereqs:
@@ -14,6 +15,14 @@
default: No clue
config_key: superman_answer
config_section: personal_info
prereqs:
- config_key: superhero
- config_value: Superman
+ config_value: Superman
+ - prompt: Why don't you have a clue?
+ config_key: no_clue
+ config_section: personal_info
+ prereqs:
+ - config_key: superhero
+ config_value: Superman
+ - config_key: superman_answer
+ config_value: No clue
\ No newline at end of file