mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-03 23:16:14 +02:00
enforce positive initial linewrap
Check column widths update gitignore throw error when linewrap too small simply check for large enough linewrap value
This commit is contained in:
parent
d3589fae60
commit
2d4ba1bf2f
6 changed files with 80 additions and 4 deletions
|
@ -302,9 +302,9 @@ Feature: Custom formats
|
|||
Scenario Outline: Export fancy with small linewrap
|
||||
Given we use the config "<config>.yaml"
|
||||
And we use the password "test" if prompted
|
||||
When we run "jrnl --config-override linewrap 12 --format fancy -3"
|
||||
When we run "jrnl --config-override linewrap 35 --format fancy -3"
|
||||
Then we should get no error
|
||||
And the output should be "12" columns wide
|
||||
And the output should be 35 columns wide
|
||||
|
||||
Examples: configs
|
||||
| config |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue