diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-12-03 18:57:21 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-12-03 18:57:21 +0200 |
commit | 63ff98237fbb0d890d8ea479df1ef855ab5056db (patch) | |
tree | c0106a306f79a7f218d444bd20689450707894ce | |
parent | cd26923839a7b97792c0c5eaa8492e8447853a5d (diff) | |
download | obnam-benchmark-63ff98237fbb0d890d8ea479df1ef855ab5056db.tar.gz |
docs: update expected JSON output
Sponsored-by: author
-rw-r--r-- | obnam-benchmark.md | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/obnam-benchmark.md b/obnam-benchmark.md index 80578c0..7403211 100644 --- a/obnam-benchmark.md +++ b/obnam-benchmark.md @@ -119,6 +119,7 @@ then stdout, as JSON, matches spec.json ``` ```{#spec.yaml .yaml .file .numberLines} +benchmarks: - benchmark: foo backups: - change: @@ -135,20 +136,23 @@ then stdout, as JSON, matches spec.json ```{#spec.json .yaml .file .numberLines} { - "benchmark": "foo", - "backups": [ - [ - { - "change": { "files": 1, "size": 1024 } - }, - { - "change": { "files": 2, "size": 2048 } - }, - { - "change": { "files": 3, "size": 3072 } + "benchmarks": [ + { + "benchmark": "foo", + "backups": [ + [ + { + "change": { "files": 1, "size": 1024 } + }, + { + "change": { "files": 2, "size": 2048 } + }, + { + "change": { "files": 3, "size": 3072 } + } + ] } ] - ] } ``` |