mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-17 11:38:32 +02:00
Create test for linewrap auto and fancy format
This commit is contained in:
parent
488890d165
commit
3ae0ac501a
1 changed files with 6 additions and 0 deletions
|
@ -111,6 +111,12 @@ Feature: Multiple journals
|
|||
Given we use the config "linewrap_auto.yaml"
|
||||
When we run "jrnl -1"
|
||||
Then the output should contain "Life is good."
|
||||
|
||||
Scenario: Use a config file with linewrap set to 'auto' and use format 'fancy'
|
||||
Given we use the config "linewrap_auto.yaml"
|
||||
When we run "jrnl -1 --format fancy"
|
||||
Then the output should contain "Life is good."
|
||||
|
||||
Scenario: Show a warning message when the config file contains duplicate keys at the same level
|
||||
Given the config "duplicate_keys.yaml" exists
|
||||
And we use the config "duplicate_keys.yaml"
|
||||
|
|
Loading…
Add table
Reference in a new issue