From 1d3a0fa3cf8e01711cf303b44fd7c9834bd0a819 Mon Sep 17 00:00:00 2001 From: Eshan Ramesh Date: Sun, 24 May 2020 09:57:44 -0400 Subject: [PATCH] second test for single line entry with punctuation --- features/core.feature | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/features/core.feature b/features/core.feature index 707f2175..c4479610 100644 --- a/features/core.feature +++ b/features/core.feature @@ -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."