summaryrefslogtreecommitdiff
path: root/subplot.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-05-24 10:49:37 +0300
committerDaniel Silverstone <dsilvers@digital-scurf.org>2020-05-24 08:58:10 +0100
commitf039dc7fcb3e9dd20166ecfe64d5428a812d5990 (patch)
tree0f09e6d77880b3673d6760e78642280d5de0c662 /subplot.yaml
parentbbdb40ac56d67ffb0d5a1cf582fe15740f1283ce (diff)
downloadsubplot-f039dc7fcb3e9dd20166ecfe64d5428a812d5990.tar.gz
test(sp-meta): amend scenario to also test JSON output
Diffstat (limited to 'subplot.yaml')
-rw-r--r--subplot.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/subplot.yaml b/subplot.yaml
index f35cdef..da84a7d 100644
--- a/subplot.yaml
+++ b/subplot.yaml
@@ -25,6 +25,9 @@
- when: I run sp-meta {filename}
function: run_meta
+- when: I run sp-meta {filename} -o json
+ function: run_meta_json
+
- when: I run pandoc --filter sp-filter {filename} -o {output}
function: run_pandoc_with_filter
@@ -51,3 +54,6 @@
- then: cleanup for "(?P<keyword>given|when|then) (?P<name>.+)" was not run
function: cleanup_was_not_run
regex: true
+
+- then: JSON output matches {filename}
+ function: json_output_matches_file