Fix: DayOne mixed-case tags don't work

When filtering on DayOne tags that contain upper case, no entries are
returned. maebert/jrnl#354
This commit is contained in:
flight16 2015-05-23 15:19:48 +09:00 committed by MinchinWeb
parent 71329a7cab
commit 7cbca9f60f

View file

@ -53,3 +53,22 @@ Feature: Zapped bugs should stay dead.
2013-06-10 15:40 He said "[this] is the best time to be alive". 2013-06-10 15:40 He said "[this] is the best time to be alive".
""" """
Scenario: Title with an embedded period on DayOne journal
Given we use the config "dayone.yaml"
When we run "jrnl 04-24-2014: "Ran 6.2 miles today in 1:02:03. I'm feeling sore because I forgot to stretch.""
Then we should see the message "Entry added"
When we run "jrnl -1"
Then the output should be
"""
2014-04-24 09:00 Ran 6.2 miles today in 1:02:03.
| I'm feeling sore because I forgot to stretch.
"""
Scenario: DayOne tag searching should work with tags containing a mixture of upper and lower case.
# https://github.com/maebert/jrnl/issues/354
Given we use the config "dayone.yaml"
When we run "jrnl @plAy"
Then the output should contain
"""
2013-05-17 11:39 This entry has tags!
"""