Update version key in config file after version changes (#1646)

This commit is contained in:
Jonathan van der Steege 2023-01-07 20:46:12 +01:00 committed by GitHub
parent fe08cfd3ab
commit d94325127f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View file

@ -133,3 +133,9 @@ Feature: Multiple journals
Given we use the config "multiple.yaml"
When we run "jrnl --config-override highlight false"
Then the output should not contain "There is at least one duplicate key in your configuration file"
Scenario: Update version number in config file when running newer version
Given we use the config "format_md.yaml"
When we run "jrnl -1"
Then the output should contain "Configuration updated to newest version at"
And the version in the config file should be up-to-date