diff options
Diffstat (limited to 'subplot.md')
-rw-r--r-- | subplot.md | 21 |
1 files changed, 19 insertions, 2 deletions
@@ -2561,7 +2561,9 @@ then command fails title: Two bindings match template: python bindings: -- badbindings.yaml +- twobindings.yaml +functions: +- a_function.py ... # Broken scenario because step has two possible bindings @@ -2570,12 +2572,27 @@ given a binding ``` ~~~~ +~~~{#twobindings.yaml .file .yaml} +- given: a {xyzzy} + function: a_function +- given: a {plugh} + function: a_function +~~~ + +~~~{#a_function.py .file .python} +def a_function(ctx): + assert 0 +~~~ + ```scenario given file twobindings.md -and file badbindings.yaml +and file twobindings.yaml +given file a_function.py and an installed subplot when I try to run subplot codegen --run twobindings.md -o test.py then command fails +then stderr contains "xyzzy" +then stderr contains "plugh" ``` |