mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
-not search parameter doesn't open editor (#1490)
This commit is contained in:
parent
19d579fc5c
commit
36121007b1
2 changed files with 14 additions and 0 deletions
|
@ -81,6 +81,7 @@ def _is_write_mode(args, config, **kwargs):
|
||||||
args.delete,
|
args.delete,
|
||||||
args.edit,
|
args.edit,
|
||||||
args.change_time,
|
args.change_time,
|
||||||
|
args.excluded,
|
||||||
args.export,
|
args.export,
|
||||||
args.end_date,
|
args.end_date,
|
||||||
args.today_in_history,
|
args.today_in_history,
|
||||||
|
|
|
@ -183,6 +183,19 @@ Feature: Searching in a journal
|
||||||
| basic_folder.yaml |
|
| basic_folder.yaml |
|
||||||
| basic_dayone.yaml |
|
| basic_dayone.yaml |
|
||||||
|
|
||||||
|
Scenario Outline: Using -not should exclude all entries with that tag
|
||||||
|
# https://github.com/jrnl-org/jrnl/issues/1472
|
||||||
|
Given we use the config "<config_file>"
|
||||||
|
When we run "jrnl -not @tagtwo"
|
||||||
|
Then the output should not contain "@tagtwo"
|
||||||
|
And the editor should not have been called
|
||||||
|
|
||||||
|
Examples: configs
|
||||||
|
| config_file |
|
||||||
|
| basic_onefile.yaml |
|
||||||
|
| basic_folder.yaml |
|
||||||
|
| basic_dayone.yaml |
|
||||||
|
|
||||||
Scenario: DayOne tag searching should work with tags containing a mixture of upper and lower case.
|
Scenario: DayOne tag searching should work with tags containing a mixture of upper and lower case.
|
||||||
# https://github.com/jrnl-org/jrnl/issues/354
|
# https://github.com/jrnl-org/jrnl/issues/354
|
||||||
Given we use the config "dayone.yaml"
|
Given we use the config "dayone.yaml"
|
||||||
|
|
Loading…
Add table
Reference in a new issue