summaryrefslogtreecommitdiff
path: root/subplot.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-04-04 16:31:38 +0300
committerLars Wirzenius <liw@liw.fi>2020-04-10 11:24:29 +0300
commit40edfe8a3d1af0fe4f780faba8cc4be4141e2d0d (patch)
tree4385dd50353780806c0e3ad9406df6701d03afe4 /subplot.yaml
parent23d24deeeef8e0d529ca16c693911cfd2d31d02f (diff)
downloadsubplot-40edfe8a3d1af0fe4f780faba8cc4be4141e2d0d.tar.gz
Change: check for embedded files with non-unique names
This is ugly and panics, but that's acceptable for now. We'll clean this up later.
Diffstat (limited to 'subplot.yaml')
-rw-r--r--subplot.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/subplot.yaml b/subplot.yaml
index 777ac92..e0fee49 100644
--- a/subplot.yaml
+++ b/subplot.yaml
@@ -31,6 +31,9 @@
- then: file (?P<filename>\S+) exists
function: file_exists
+- then: file (?P<filename>\S+) does not exist
+ function: file_does_not_exist
+
- then: file (?P<filename>\S+) matches /(?P<regex>.+)/
function: file_matches