Remove comments in Gherkin files causing test breakage

These comments break the step matching.
This commit is contained in:
Carl Smedstad 2024-11-16 20:42:04 +01:00
parent 5f937721bf
commit a3e55c5e0d
No known key found for this signature in database
GPG key ID: 49C93367BA86290E
2 changed files with 4 additions and 4 deletions

View file

@ -111,8 +111,8 @@ Feature: Test combinations of edit, change-time, and delete
""" """
Then the error output should contain "3 entries found" Then the error output should contain "3 entries found"
And the error output should contain "2 entries deleted" And the error output should contain "2 entries deleted"
And the error output should contain "1 entry modified" # only 1, because the other was deleted And the error output should contain "1 entry modified"
And the error output should contain "1 entry added" # by edit And the error output should contain "1 entry added"
When we run "jrnl -99 --short" When we run "jrnl -99 --short"
Then the output should be Then the output should be
""" """

View file

@ -7,8 +7,8 @@ Feature: Multiple journals
Given the config "basic_onefile.yaml" exists Given the config "basic_onefile.yaml" exists
And we use the config "multiple.yaml" And we use the config "multiple.yaml"
When we run "jrnl --cf basic_onefile.yaml -999" When we run "jrnl --cf basic_onefile.yaml -999"
Then the output should not contain "My first entry" # from multiple.yaml Then the output should not contain "My first entry"
And the output should contain "Lorem ipsum" # from basic_onefile.yaml And the output should contain "Lorem ipsum"
Scenario: Write to default journal by default using an alternate config Scenario: Write to default journal by default using an alternate config
Given the config "multiple.yaml" exists Given the config "multiple.yaml" exists