diff --git a/features/core.feature b/features/core.feature index df214494..707f2175 100644 --- a/features/core.feature +++ b/features/core.feature @@ -26,6 +26,12 @@ Feature: Basic reading and writing to a journal | There is a blank line above this. """ + Scenario: Multiline entry with punctuation + Given we use the config "basic.yaml" + When we run "jrnl This is. the title\\n This is the second line" + and we run "jrnl -n 1" + Then the output should contain "This is. 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." @@ -39,6 +45,8 @@ Feature: Basic reading and writing to a journal When we open the editor and enter nothing Then we should see the message "[Nothing saved to file]" + + Scenario: Writing an empty entry from the command line Given we use the config "basic.yaml" When we run "jrnl" and enter nothing