diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-10-22 11:59:50 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-10-22 11:59:50 +0000 |
commit | 1bcbb535490511e0bc4f2826356a16bdd05360b0 (patch) | |
tree | 1e26b5616d61e9fc917278012f75d707bbfd97fa /tests/subplots/common/runcmd_test.yaml | |
parent | 990c506d347a6aa09af68bc6de670858cf59f133 (diff) | |
parent | 7f52ffc37e1a366f78ba3709f15b09ca22ca98c9 (diff) | |
download | subplot-1bcbb535490511e0bc4f2826356a16bdd05360b0.tar.gz |
Merge branch 'filepath-as-path' into 'main'
(derive): Support steps with &Path arguments
Closes #288
See merge request subplot/subplot!295
Diffstat (limited to 'tests/subplots/common/runcmd_test.yaml')
-rw-r--r-- | tests/subplots/common/runcmd_test.yaml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/subplots/common/runcmd_test.yaml b/tests/subplots/common/runcmd_test.yaml index daab202..e53c2d7 100644 --- a/tests/subplots/common/runcmd_test.yaml +++ b/tests/subplots/common/runcmd_test.yaml @@ -1,9 +1,12 @@ -- given: "executable script {filename} from {embedded:file}" +- given: "executable script {filename} from {embedded}" impl: python: function: create_script_from_embedded rust: function: create_script_from_embedded + types: + filename: path + embedded: file - when: "I prepend {dirname} to PATH" impl: @@ -11,3 +14,5 @@ function: runcmd_prepend_to_path rust: function: prepend_to_path + types: + dirname: path |