summaryrefslogtreecommitdiff
path: root/subplot/benchmark.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-12-26 17:21:49 +0000
committerLars Wirzenius <liw@liw.fi>2021-12-26 17:21:49 +0000
commit010480a957c52e14172049aea3e692447be8cdfe (patch)
treefefd20b8aa3da4d7771a46121fc03d8fb1c5dad0 /subplot/benchmark.yaml
parent9f170606eb4fc24086274b446bb77cc1195280f0 (diff)
parentabfeccd0d839eef9e90397dcff40f0bf918ed477 (diff)
downloadobnam-benchmark-010480a957c52e14172049aea3e692447be8cdfe.tar.gz
Merge branch 'random' into 'main'
feat: generate test data with junk contents See merge request obnam/obnam-benchmark!3
Diffstat (limited to 'subplot/benchmark.yaml')
-rw-r--r--subplot/benchmark.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/subplot/benchmark.yaml b/subplot/benchmark.yaml
index 70ebb54..dc3a136 100644
--- a/subplot/benchmark.yaml
+++ b/subplot/benchmark.yaml
@@ -12,3 +12,8 @@
impl:
rust:
function: file_is_valid_json
+
+- then: file {filename} is at least {number:int} bytes long
+ impl:
+ rust:
+ function: file_is_at_least_this_long