diff options
author | Tharre <tharre3@gmail.com> | 2015-05-25 16:20:27 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2015-05-25 16:20:27 +0200 |
commit | c7712dfd7bf2734e339096d3274f5b0bef2b4335 (patch) | |
tree | 3b4ce149869e4b3273c1c53dd7194a2ad8b5760e /test/fail.bats | |
parent | 91e31ebf711d38830b0b53dc848aa90223f9be1d (diff) | |
download | redo-c7712dfd7bf2734e339096d3274f5b0bef2b4335.tar.gz redo-c7712dfd7bf2734e339096d3274f5b0bef2b4335.tar.xz redo-c7712dfd7bf2734e339096d3274f5b0bef2b4335.zip |
Replace current tests with a hole new test suite
This new test suite is based on just on do scripts, much like apenwarr's redo
implementation has done it. This makes tests both simpler and free from any
additional dependencies. The naming was also improved a lot.
There are also a lot of new tests, and many more to be implemeted later.
Diffstat (limited to 'test/fail.bats')
-rw-r--r-- | test/fail.bats | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/test/fail.bats b/test/fail.bats deleted file mode 100644 index 1a77ced..0000000 --- a/test/fail.bats +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bats - -load test_helper - -@test "invoke with target without do-file" { - run redo this-does-not-exist - [ $status -ne 0 ] -} - -@test "invoke with failing do-file" { - run redo fail - [ $status -ne 0 ] && [ ! -e fail_result ] -} |