diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-07-13 07:10:39 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-07-13 07:10:39 +0000 |
commit | a5cf2de561dd75686528b4c83a55a9f756b077bc (patch) | |
tree | 066cf2cfec5abf4c9e12463935021b12e642c7f3 /subplot.md | |
parent | 35aa4d6710389e5b5b364109ac5a0cb375112d87 (diff) | |
parent | 4a745bd12a52ac12d58303f57e2660f3a051606e (diff) | |
download | subplot-a5cf2de561dd75686528b4c83a55a9f756b077bc.tar.gz |
Merge branch 'fix-12' into 'master'
Case insensitivity support
Closes #12
See merge request larswirzenius/subplot!54
Diffstat (limited to 'subplot.md')
-rw-r--r-- | subplot.md | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -1825,6 +1825,9 @@ binding. - given: a (?:broken)? binding function: a_broken_binding regex: true +- given: a capitalised Binding + function: os.getcwd + case_sensitive: true ``` ### Steps which do not match bindings do not work @@ -1850,6 +1853,28 @@ when I try to run sp-codegen --run nobinding.md -o test.py then exit code is non-zero ``` +### Steps which do not case-sensitively match sensitive bindings do not work + +~~~~{#casemismatch.md .file .markdown} +--- +title: Case sensitivity mismatch +bindings: +- badbindings.yaml +... +# Broken scenario because step has a case mismatch with sensitive binding + +```scenario +given a capitalised binding +``` +~~~~ + +```scenario +given file casemismatch.md +and file badbindings.yaml +when I try to run sp-codegen --run casemismatch.md -o test.py +then exit code is non-zero +``` + ### Steps which match more than one binding do not work ~~~~{#twobindings.md .file .markdown} |