mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 21:18:32 +02:00
Add more journal types in search
This commit is contained in:
parent
56a7cc97a4
commit
8c9dce4bc5
1 changed files with 10 additions and 5 deletions
|
@ -53,16 +53,21 @@ Feature: Searching in a journal
|
|||
| empty_folder |
|
||||
| dayone |
|
||||
|
||||
Scenario: Searching for a string
|
||||
Given we use the config "simple.yaml"
|
||||
When we run "jrnl -contains life"
|
||||
Scenario Outline: Searching for a string
|
||||
Given we use the config "<config>.yaml"
|
||||
When we run "jrnl -contains first --short"
|
||||
Then we should get no error
|
||||
And the output should be
|
||||
"""
|
||||
2013-06-10 15:40 Life is good.
|
||||
| But I'm better.
|
||||
2020-08-29 11:11 Entry the first.
|
||||
"""
|
||||
|
||||
Examples: configs
|
||||
| config |
|
||||
| basic_onefile |
|
||||
| basic_folder |
|
||||
| basic_dayone |
|
||||
|
||||
Scenario: Searching for a string within tag results
|
||||
Given we use the config "tags.yaml"
|
||||
When we run "jrnl @idea -contains software"
|
||||
|
|
Loading…
Add table
Reference in a new issue