diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-04-18 13:45:56 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-04-18 13:45:56 +0100 |
commit | 564b31b1e36af4e37b182ef9dbaaede908ca2000 (patch) | |
tree | 075ad21d3b368e9631502cc6e0d88937318afd7b /yarns/020-metadata-manipulation.yarn | |
parent | c96ce873b1692da2f51e1722d38c42dc6188fb11 (diff) | |
download | distix-564b31b1e36af4e37b182ef9dbaaede908ca2000.tar.gz |
Add test for _list with empty file; fix code
Diffstat (limited to 'yarns/020-metadata-manipulation.yarn')
-rw-r--r-- | yarns/020-metadata-manipulation.yarn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/yarns/020-metadata-manipulation.yarn b/yarns/020-metadata-manipulation.yarn index c7616f6..38703bc 100644 --- a/yarns/020-metadata-manipulation.yarn +++ b/yarns/020-metadata-manipulation.yarn @@ -16,3 +16,9 @@ metadata file doesn't exist. THEN attempt failed AND error message matches R465BCX +An empty file should result in empty output. + + GIVEN file METADATA containing "" + WHEN user attempts to run distix _list METADATA + THEN attempt succeeded + AND output is "" |