From a529ee5d066c79cf3c9fccad8fdbe0c2d1dde66f Mon Sep 17 00:00:00 2001 From: Micah Jerome Ellison Date: Tue, 23 Feb 2021 19:01:59 -0800 Subject: [PATCH] Add another unreadable/readable date test Co-authored-by: Jonathan Wren --- tests/features/datetime.feature | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/features/datetime.feature b/tests/features/datetime.feature index c269c188..d6025a4a 100644 --- a/tests/features/datetime.feature +++ b/tests/features/datetime.feature @@ -137,3 +137,9 @@ Feature: Reading and writing to journal with custom date formats 2019-07-01 14:23 The third entry 2019-07-18 14:23 The first entry 2019-07-19 14:23 The second entry + + Scenario: Update near-valid dates after journal is edited + Given we use the config "mostlyreadabledates.yaml" + When we run "jrnl 2222-08-19: I have made it exactly one month into the future." + When we run "jrnl -2" + Then the output should contain "2019-07-19 14:23 The second entry"