add new exception handling to 'nothing saved to file' errors

This commit is contained in:
Jonathan Wren 2022-02-19 17:31:59 -08:00
parent 35cdd7bd59
commit e181302ca4
4 changed files with 8 additions and 4 deletions

View file

@ -78,7 +78,7 @@ Feature: Writing new entries.
And we write nothing to the editor if opened
And we use the password "test" if prompted
When we run "jrnl --edit"
Then the error output should contain "[Nothing saved to file]"
Then the error output should contain "Nothing saved to file"
And the editor should have been called
Examples: configs