mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 13:08:31 +02:00
Moved tag test to tagging.feature file
This commit is contained in:
parent
c65c78c4eb
commit
fcc64fa885
2 changed files with 16 additions and 15 deletions
|
@ -26,21 +26,6 @@ Feature: Basic reading and writing to a journal
|
|||
| There is a blank line above this.
|
||||
"""
|
||||
|
||||
Scenario: Printing a journal that has multiline entries with tags
|
||||
Given we use the config "multiline-tags.yaml"
|
||||
When we run "jrnl -n 1"
|
||||
Then we should get no error
|
||||
and the output should be
|
||||
"""
|
||||
[2013-06-09 15:39] Multiple @line entry with @tags.
|
||||
| Tag with @punctuation. afterwards
|
||||
| @TagOnLineAloneWithOutPunctuation
|
||||
| @TagOnLineAloneWithPunctuation.
|
||||
| Text before @tag. And After.
|
||||
| @hi. Hello
|
||||
| hi Hello
|
||||
"""
|
||||
|
||||
Scenario: Writing an entry from command line
|
||||
Given we use the config "basic.yaml"
|
||||
When we run "jrnl 23 july 2013: A cold and stormy day. I ate crisps on the sofa."
|
||||
|
|
|
@ -82,3 +82,19 @@ Feature: Tagging
|
|||
"""
|
||||
@thought : 2
|
||||
"""
|
||||
|
||||
|
||||
Scenario: Printing a journal that has multiline entries with tags
|
||||
Given we use the config "multiline-tags.yaml"
|
||||
When we run "jrnl -n 1"
|
||||
Then we should get no error
|
||||
and the output should be
|
||||
"""
|
||||
2013-06-09 15:39 Multiple @line entry with @tags.
|
||||
| Tag with @punctuation. afterwards
|
||||
| @TagOnLineAloneWithOutPunctuation
|
||||
| @TagOnLineAloneWithPunctuation.
|
||||
| Text before @tag. And After.
|
||||
| @hi. Hello
|
||||
| hi Hello
|
||||
"""
|
Loading…
Add table
Reference in a new issue