summaryrefslogtreecommitdiff
path: root/jt.md
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-06-16 14:57:55 +0300
committerLars Wirzenius <liw@liw.fi>2019-06-16 19:30:22 +0300
commit80858ea67d85800089d7842fc66505fa83103aa0 (patch)
tree2c2143d38eed9f3b17ca87b05cbf9b755ed84665 /jt.md
parentb28e50ac4cf013eb68f6d3a10b07f8683bd60122 (diff)
downloadfable-poc-80858ea67d85800089d7842fc66505fa83103aa0.tar.gz
Change: make generated test program more convenient
Also, the jt fable now works, against my locally modified version of jt (soon to be pushed to git.liw.fi). The generated program now has options --tempdir (default is something in /tmp). If --tempdir is used, it doesn't removed at the end. Each scenario gets a temporary directory created under the temporary directory. The generated program also has the options --log for specifying a log file, and --scenario to specify which scenarios to run (use once per scenario).
Diffstat (limited to 'jt.md')
-rw-r--r--jt.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/jt.md b/jt.md
index 3d68720..69dc534 100644
--- a/jt.md
+++ b/jt.md
@@ -109,7 +109,7 @@ and I run jt new "second entry"
then there are 2 drafts
and draft 0 has title "first entry"
and draft 1 has title "second entry"
-when I run jt finish
+when I try to run jt finish
then it fails
```
@@ -135,7 +135,7 @@ always requires specifying the draft.
given an empty journal
when I run jt new "random title"
then there is 1 draft
-when I run jt remove
+when I try to run jt remove
then it fails
when I run jt remove 0
then there are no drafts