diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2021-08-14 10:48:26 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2021-09-07 17:32:20 +0100 |
commit | d5c69db746b5c4ba938248a7d1c285256c6e6412 (patch) | |
tree | c0945c1eba87cc2702ea574a94c5cfa5ae61762c /subplot.md | |
parent | 4436b7ee28b0318a96d98833d85d712c8a18850d (diff) | |
download | subplot-d5c69db746b5c4ba938248a7d1c285256c6e6412.tar.gz |
subplot: Properly support polyglot bindings
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'subplot.md')
-rw-r--r-- | subplot.md | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -936,26 +936,38 @@ then bar was done impl: python: function: precond_foo + bash: + function: precond_foo - when: I do bar impl: python: function: do_bar + bash: + function: do_bar - when: I do foobar impl: python: function: do_foobar + bash: + function: do_foobar - then: bar was done impl: python: function: bar_was_done + bash: + function: bar_was_done - then: foobar was done impl: python: function: foobar_was_done + bash: + function: foobar_was_done - given: file {filename} impl: python: function: provide_file + bash: + function: provide_file types: filename: file ~~~ @@ -1176,16 +1188,25 @@ test this for every language template we support. python: function: foo cleanup: foo_cleanup + bash: + function: foo + cleanup: foo_cleanup - given: bar impl: python: function: bar cleanup: bar_cleanup + bash: + function: bar + cleanup: bar_cleanup - given: failure impl: python: function: failure cleanup: failure_cleanup + bash: + function: failure + cleanup: failure_cleanup ~~~ ~~~{#cleanup.py .file .python .numberLines} |