Add unreadable date test

Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
This commit is contained in:
Micah Jerome Ellison 2021-02-23 18:56:10 -08:00 committed by Jonathan Wren
parent f686e2b9f0
commit 0c9b6cf85f
2 changed files with 11 additions and 3 deletions

View file

@ -129,3 +129,11 @@ Feature: Reading and writing to journal with custom date formats
When we run "jrnl -2"
Then the output should contain "I've lost track of time."
And the output should contain "Time has no meaning."
Scenario: Journals with readable dates AND unreadable dates should still contain all data.
Given we use the config "mostlyreadabledates.yaml"
When we run "jrnl --short"
Then the output should be
2019-07-01 14:23 The third entry
2019-07-18 14:23 The first entry
2019-07-19 14:23 The second entry