diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-04-18 13:53:20 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-04-18 13:53:20 +0100 |
commit | 58e2106d0d001d24e44012f8ce370b53fc972d27 (patch) | |
tree | 868ffc8b757d7485cc42e018ccb6a44d06a5c8c8 /yarns | |
parent | 45695c1fb6c18271212683506947c5b614384783 (diff) | |
download | distix-58e2106d0d001d24e44012f8ce370b53fc972d27.tar.gz |
Implement _get subcommand
Diffstat (limited to 'yarns')
-rw-r--r-- | yarns/020-metadata-manipulation.yarn | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/yarns/020-metadata-manipulation.yarn b/yarns/020-metadata-manipulation.yarn index 93c45e2..53c5980 100644 --- a/yarns/020-metadata-manipulation.yarn +++ b/yarns/020-metadata-manipulation.yarn @@ -23,9 +23,14 @@ An empty file should result in empty output. THEN attempt succeeded AND output is "" -A single key/value pair. +A file with a single key/value pair. GIVEN file METADATA containing "key:\n- value" + WHEN user attempts to run distix _list METADATA THEN attempt succeeded AND output is "key=value\n" + + WHEN user attempts to run distix _get METADATA key + THEN attempt succeeded + AND output is "key=value\n" |