diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-06-08 08:00:28 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-06-08 08:05:45 +0300 |
commit | c337d1d59526fb8dfe569d49bfd355c64bbf07eb (patch) | |
tree | a4b5eee22ac9a441405ed8b175e8d356f4f97383 /files.yaml | |
parent | bba22e1f86967feebf94ebac327f7489c1029afd (diff) | |
download | subplot-c337d1d59526fb8dfe569d49bfd355c64bbf07eb.tar.gz |
test(files): add binding and function for comparing file contents
This will be used soon by a program to extract data files from
subplots, but I expect it to be more generally useful in the future.
Diffstat (limited to 'files.yaml')
-rw-r--r-- | files.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -21,6 +21,9 @@ function: file_matches regex: true +- then: files {filename1} and {filename2} match + function: files_match + - then: file (?P<filename>\S+) contains "(?P<pattern>.+)" function: file_contains regex: true |