diff options
author | Tharre <tharre3@gmail.com> | 2015-01-25 20:38:20 +0100 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2015-01-25 20:41:16 +0100 |
commit | 5322817d1c382d5ba377be0080bd4c5da525cd2f (patch) | |
tree | a6053e4c13e72ed29f6441e7626b5d751d79102a /test/no-output.bats | |
parent | c4a2f0dec7bd7d3f50115bb88467a0841c91d957 (diff) | |
download | redo-5322817d1c382d5ba377be0080bd4c5da525cd2f.tar.gz redo-5322817d1c382d5ba377be0080bd4c5da525cd2f.tar.xz redo-5322817d1c382d5ba377be0080bd4c5da525cd2f.zip |
Add testing framework `bats`, this fixes #6
Diffstat (limited to 'test/no-output.bats')
-rw-r--r-- | test/no-output.bats | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/no-output.bats b/test/no-output.bats new file mode 100644 index 0000000..c492e4f --- /dev/null +++ b/test/no-output.bats @@ -0,0 +1,8 @@ +#!/usr/bin/env bats + +load test_helper + +@test "produce empty result" { + run redo no-output_result + [ $status -eq 0 ] && [ ! -e no-output_result ] +} |