mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
Add unreadable date test
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
This commit is contained in:
parent
7d04fb904a
commit
7e6dd354cf
1 changed files with 6 additions and 0 deletions
|
@ -123,3 +123,9 @@ Feature: Reading and writing to journal with custom date formats
|
||||||
| Sun: entry on a sunday | entry on a sunday | sunday at 9am |
|
| Sun: entry on a sunday | entry on a sunday | sunday at 9am |
|
||||||
| sun: entry on a sunday | entry on a sunday | sunday at 9am |
|
| sun: entry on a sunday | entry on a sunday | sunday at 9am |
|
||||||
| sUn: entry on a sunday | entry on a sunday | sunday at 9am |
|
| sUn: entry on a sunday | entry on a sunday | sunday at 9am |
|
||||||
|
|
||||||
|
Scenario: Journals with unreadable dates should still be loaded
|
||||||
|
Given we use the config "unreadabledates.yaml"
|
||||||
|
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."
|
||||||
|
|
Loading…
Add table
Reference in a new issue