summaryrefslogtreecommitdiff
path: root/jt.md
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-09-15 17:41:22 +0000
committerLars Wirzenius <liw@liw.fi>2021-09-15 17:41:22 +0000
commitcb77ffe8f3b61e5dd488d918b067efd28c07948e (patch)
tree487002380e31311809c161f4e5b09638f2f46ccf /jt.md
parent794ea63e46212941e73ca3933d30431d43d469b3 (diff)
parent8165ec7c6b418e32ff8518ebd04d0344f2ab6c15 (diff)
downloadjt2-cb77ffe8f3b61e5dd488d918b067efd28c07948e.tar.gz
Merge branch 'fix-topic' into 'main'
fix topic names containing dots See merge request larswirzenius/jt!24
Diffstat (limited to 'jt.md')
-rw-r--r--jt.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/jt.md b/jt.md
index 2066690..4fcea5d 100644
--- a/jt.md
+++ b/jt.md
@@ -310,19 +310,19 @@ given an installed jt
when I run jt --dirname jrnl init default "My test journal"
then command is successful
-when I try to run jt --editor=none --dirname=jrnl new --topic foo "Abracadabra"
+when I try to run jt --editor=none --dirname=jrnl new --topic foo.bar "Abracadabra"
then command fails
-then stderr contains "foo"
+then stderr contains "foo.bar"
-when I run jt --editor=none --dirname=jrnl new-topic foo "Things about Foo"
+when I run jt --editor=none --dirname=jrnl new-topic foo.bar "Things about Foobars"
then command is successful
-then file jrnl/foo.mdwn contains "Things about Foo"
+then file jrnl/foo.bar.mdwn contains "Things about Foobars"
then there are no uncommitted changes in jrnl
-when I run jt --editor=none --dirname=jrnl new --topic foo "Abracadabra"
+when I run jt --editor=none --dirname=jrnl new --topic foo.bar "Abracadabra"
then command is successful
and there is one draft in jrnl
-and draft 0 in jrnl links to "foo"
+and draft 0 in jrnl links to "foo.bar"
~~~