Merge branch 'master' into 2.0-dayone-fixes

This commit is contained in:
MinchinWeb 2019-08-01 21:50:14 -06:00 committed by GitHub
commit 43a8bba8c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
64 changed files with 1670 additions and 5632 deletions

View file

@ -72,3 +72,21 @@ Feature: Zapped bugs should stay dead.
"""
2013-05-17 11:39 This entry has tags!
"""
Scenario: Integers in square brackets should not be read as dates
Given we use the config "brackets.yaml"
When we run "jrnl -1"
Then the output should contain "[1] line starting with 1"
Scenario: Journals with unreadable dates should still be viewable
Given we use the config "unreadabledates.yaml"
When we run "jrnl -2"
Then the output should contain "I've lost track of time."
Then 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 -3"
Then the output should contain "Time machines are possible."
When we run "jrnl -1"
Then the output should contain "I'm going to activate the machine."
Then the output should contain "I've crossed so many timelines. Is there any going back?"