Add comment explaining discrepancy between expected and asserted output

This commit is contained in:
Aaron Lichtman 2019-11-15 09:38:09 +01:00
parent ac21a4facb
commit d378e2522d
No known key found for this signature in database
GPG key ID: 22368077DE9F9903

View file

@ -20,6 +20,7 @@ Feature: Basic reading and writing to a journal
When we run "jrnl -n 1" When we run "jrnl -n 1"
Then the output should contain "2013-07-23 09:00 A cold and stormy day." Then the output should contain "2013-07-23 09:00 A cold and stormy day."
# Note that the expected output is actually "[Nothing saved to file]" but due to mocking limitations, we expect no output here.
Scenario: Writing an empty entry from the editor Scenario: Writing an empty entry from the editor
Given we use the config "editor.yaml" Given we use the config "editor.yaml"
When we open the editor and exit When we open the editor and exit