From 468529b33a1e76dae65e4b9faa24056c42107cd4 Mon Sep 17 00:00:00 2001 From: esrh Date: Sat, 23 Jan 2021 17:23:42 -0500 Subject: [PATCH] Add test --- features/write.feature | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/features/write.feature b/features/write.feature index efa26201..c3d66c7b 100644 --- a/features/write.feature +++ b/features/write.feature @@ -28,6 +28,20 @@ Feature: Writing new entries. | basic_folder | | basic_dayone | + Scenario Outline: CJK entry should be split at fullwidth period without following space. + Given we use the config ".yaml" + And we use the password "test" if prompted + When we run "jrnl 七転び。八起" + And we run "jrnl -1" + Then the output should contain "| 八起" + + Examples: configs + | config_file | + | basic_onefile | + | basic_encrypted | + | basic_folder | + | basic_dayone | + Scenario Outline: Writing an entry from command line should store the entry Given we use the config ".yaml" And we use the password "bad doggie no biscuit" if prompted