From 63ff98237fbb0d890d8ea479df1ef855ab5056db Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 3 Dec 2021 18:57:21 +0200 Subject: docs: update expected JSON output Sponsored-by: author --- obnam-benchmark.md | 28 ++++++++++++++++------------ 1 file 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 } + } + ] } ] - ] } ``` -- cgit v1.2.1