Fix version number test failing on lack of patch version after change to 2.5

This commit is contained in:
Micah Jerome Ellison 2020-10-17 15:38:06 -07:00
parent 93bcd9bdfe
commit 05d0a0cc83

View file

@ -4,13 +4,13 @@ Feature: Functionality of jrnl outside of actually handling journals
Given we use the config "simple.yaml" Given we use the config "simple.yaml"
When we run "jrnl --version" When we run "jrnl --version"
Then we should get no error Then we should get no error
Then the output should match "^jrnl version v\d+\.\d+\.\d+(-(alpha|beta))?$" Then the output should match "^jrnl version v\d+\.\d+(\.\d+)?(-(alpha|beta))?$"
Scenario: Displaying the version number Scenario: Displaying the version number
Given we use the config "simple.yaml" Given we use the config "simple.yaml"
When we run "jrnl -v" When we run "jrnl -v"
Then we should get no error Then we should get no error
Then the output should match "^jrnl version v\d+\.\d+\.\d+(-(alpha|beta))?$" Then the output should match "^jrnl version v\d+\.\d+(\.\d+)?(-(alpha|beta))?$"
Scenario: Running the diagnostic command Scenario: Running the diagnostic command
When we run "jrnl --diagnostic" When we run "jrnl --diagnostic"