mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-17 03:28:31 +02:00
Update test regex to handle windows filepaths
This commit is contained in:
parent
68446dc6c0
commit
f8ea88603c
1 changed files with 3 additions and 4 deletions
|
@ -600,16 +600,15 @@ Feature: Custom formats
|
||||||
|
|
||||||
Scenario: Export journal list to multiple formats.
|
Scenario: Export journal list to multiple formats.
|
||||||
Given we use the config "basic_onefile.yaml"
|
Given we use the config "basic_onefile.yaml"
|
||||||
And the home directory is called "home"
|
|
||||||
When we run "jrnl --list"
|
When we run "jrnl --list"
|
||||||
Then the output should match
|
Then the output should match
|
||||||
Journals defined in config \(/[\w/]+/basic_onefile\.yaml\)
|
Journals defined in config \(.+basic_onefile\.yaml\)
|
||||||
\* default -> features/journals/basic_onefile\.journal
|
\* default -> features/journals/basic_onefile\.journal
|
||||||
When we run "jrnl --list --format json"
|
When we run "jrnl --list --format json"
|
||||||
Then the output should match
|
Then the output should match
|
||||||
{"config_path": "/[\w/]+/basic_onefile\.yaml", "journals": {"default": "features/journals/basic_onefile\.journal"}}
|
{"config_path": ".+basic_onefile\.yaml", "journals": {"default": "features/journals/basic_onefile\.journal"}}
|
||||||
When we run "jrnl --list --format yaml"
|
When we run "jrnl --list --format yaml"
|
||||||
Then the output should match
|
Then the output should match
|
||||||
config_path: /[\w/]+/basic_onefile\.yaml
|
config_path: .+basic_onefile\.yaml
|
||||||
journals:
|
journals:
|
||||||
default: features/journals/basic_onefile\.journal
|
default: features/journals/basic_onefile\.journal
|
||||||
|
|
Loading…
Add table
Reference in a new issue