mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 13:36:14 +02:00
[GH-632] confirming that each journal can be parsed during upgrade, and aborting upgrade if not
This commit is contained in:
parent
d29b9c82a9
commit
12c474ecd8
5 changed files with 52 additions and 29 deletions
|
@ -43,17 +43,6 @@ Feature: Zapped bugs should stay dead.
|
|||
| Hope to get a lot of traffic.
|
||||
"""
|
||||
|
||||
Scenario: Upgrade and parse journals with square brackets
|
||||
Given we use the config "upgrade_from_195.json"
|
||||
When we run "jrnl -9" and enter "Y"
|
||||
Then the output should contain
|
||||
"""
|
||||
2010-06-10 15:00 A life without chocolate is like a bad analogy.
|
||||
|
||||
2013-06-10 15:40 He said "[this] is the best time to be alive".
|
||||
"""
|
||||
Then the journal should have 2 entries
|
||||
|
||||
Scenario: Integers in square brackets should not be read as dates
|
||||
Given we use the config "brackets.yaml"
|
||||
When we run "jrnl -1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue