Add currently-failing test conditions for count messages when changing time and deleting

This commit is contained in:
Micah Jerome Ellison 2023-02-15 11:11:07 -08:00 committed by Jonathan Wren
parent c182395fce
commit 752e55d363
2 changed files with 14 additions and 1 deletions

View file

@ -49,6 +49,8 @@ Feature: Change entry times in journal
Given we use the config "<config_file>"
When we run "jrnl --change-time now asdfasdf"
Then the output should contain "No entries to modify"
And the error output should not contain "entries modified"
And the error output should not contain "entries deleted"
When we run "jrnl -99 --short"
Then the output should be
2020-08-29 11:11 Entry the first.
@ -187,6 +189,7 @@ Feature: Change entry times in journal
Given we use the config "<config_file>"
When we run "jrnl --change-time '2022-04-23 10:30' -contains dignissim" and enter
Y
Then the error output should contain "1 entry modified"
When we run "jrnl -99 --short"
Then the output should be
2020-08-31 14:32 A second entry in what I hope to be a long series.