mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-03 23:16:14 +02:00
Check for duplicate keys in config file
This commit is contained in:
parent
9639c5386f
commit
15dcfcc06d
4 changed files with 95 additions and 0 deletions
|
@ -103,3 +103,8 @@ Feature: Multiple journals
|
|||
And we use the config "basic_onefile.yaml"
|
||||
When we run "jrnl --cf empty_file.yaml"
|
||||
Then the error output should contain "Unable to parse config file"
|
||||
|
||||
Scenario: Show a warning message when the config file contains double keys at the same level
|
||||
Given we use the config "double_keys.yaml"
|
||||
When we run "jrnl -1"
|
||||
Then the output should contain "One or more keys appear multiple times at the same level"
|
Loading…
Add table
Add a link
Reference in a new issue