mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-29 14:06:14 +02:00
Combine JSON and XML parsing tests
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
This commit is contained in:
parent
ef6ed93ecd
commit
3cc3e387c5
2 changed files with 55 additions and 18 deletions
|
@ -265,9 +265,10 @@ Feature: Custom formats
|
|||
Given we use the config "tags.yaml"
|
||||
And we use the password "test" if prompted
|
||||
When we run "jrnl --export xml"
|
||||
Then the output should be a valid XML string
|
||||
And "entries" node in the xml output should have 2 elements
|
||||
And "tags" in the xml output should contain
|
||||
Then the output should be valid XML
|
||||
Given we parse the output as XML
|
||||
Then "entries" node in the parsed output should have 2 elements
|
||||
And "tags" in the parsed output should be
|
||||
@idea
|
||||
@journal
|
||||
@dan
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue