second test for single line entry with punctuation

This commit is contained in:
Eshan Ramesh 2020-05-24 09:57:44 -04:00
parent 6b1bc963e0
commit 1d3a0fa3cf

View file

@ -32,6 +32,12 @@ Feature: Basic reading and writing to a journal
and we run "jrnl -n 1"
Then the output should contain "This is. the title"
Scenario: Single line entry with punctuation
Given we use the config "basic.yaml"
When we run "jrnl This is. the title"
and we run "jrnl -n 1"
Then the output should contain "| the title"
Scenario: Writing an entry from command line
Given we use the config "basic.yaml"
When we run "jrnl 23 july 2013: A cold and stormy day. I ate crisps on the sofa."