diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-02-04 11:07:09 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-02-04 11:07:31 +0200 |
commit | ad48a051596f6b9748340b7ea5b30659e2692684 (patch) | |
tree | 0820209b255f83bae4132d30df067161e04ec899 /subplot/data.yaml | |
parent | 22202d176259d962abdbfdefef1e6213408df06c (diff) | |
download | obnam2-ad48a051596f6b9748340b7ea5b30659e2692684.tar.gz |
test: add scenario test for obnam config subcommand
Diffstat (limited to 'subplot/data.yaml')
-rw-r--r-- | subplot/data.yaml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/subplot/data.yaml b/subplot/data.yaml index 7659319..6d384b8 100644 --- a/subplot/data.yaml +++ b/subplot/data.yaml @@ -21,5 +21,8 @@ - given: a manifest of the directory {dirname} restored in {restored} in {manifest} function: create_manifest_of_restored -- then: files {first} and {second} match - function: files_match +- given: "JSON file {json_name} converted from YAML file {yaml_name}" + function: convert_yaml_to_json + +- then: "stdout, as JSON, matches file {filename}" + function: match_stdout_to_json_file |