diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2021-10-19 19:43:28 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2021-11-19 20:19:00 +0000 |
commit | 73e7188b2397d1afb5c550cf8863157c9174a4e5 (patch) | |
tree | f33e7ed32bdda788a02940213e92fc28ef64aa7b /subplot.md | |
parent | 5a92266170ae9879b0651e6074e538a4de0a214c (diff) | |
download | subplot-73e7188b2397d1afb5c550cf8863157c9174a4e5.tar.gz |
subplot.md: Fix up test cases to work with intermediate polyglot docs
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'subplot.md')
-rw-r--r-- | subplot.md | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -2400,6 +2400,7 @@ subplot metadata would extract this information from the **simple.md** example: ~~~ title: Test scenario bindings: [b.yaml] +template: python functions: [f.py] scenario Simple ~~~ @@ -2428,7 +2429,7 @@ and stdout contains "source: bar.bib" and stdout contains "source: image.gif" and stdout contains "bindings: b.yaml" and stdout contains "bindings: other.yaml" -and stdout contains "functions: f.py" +and stdout contains "functions[python]: f.py" when I run subplot metadata images.md -o json then JSON output matches expected.json ~~~ @@ -2440,6 +2441,7 @@ title: Document refers to external images bindings: - b.yaml - other.yaml +template: python functions: - f.py - other.py @@ -2493,10 +2495,12 @@ bibliography: [foo.bib, bar.bib] "b.yaml", "other.yaml" ], - "function_files": [ - "f.py", - "other.py" - ], + "impls": { + "python": [ + "f.py", + "other.py" + ] + }, "bibliographies": [ "bar.bib", "foo.bib" |