Skip to content

Commit

Permalink
test: enable two skip tests on bashunit_fail_test_sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Chemaclass committed Dec 5, 2024
1 parent 64c478b commit 7a7cc5a
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/acceptance/bashunit_fail_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ function test_different_verbose_snapshots_matches() {
}

function test_bashunit_when_a_test_fail_simple_output_env() {
todo "Should print something like ...F." && return

# shellcheck disable=SC2317
local test_file=./tests/acceptance/fixtures/test_bashunit_when_a_test_fail.sh

Expand All @@ -37,8 +35,6 @@ function test_bashunit_when_a_test_fail_simple_output_env() {
}

function test_bashunit_when_a_test_fail_simple_output_option() {
todo "Should print something like ...F." && return

# shellcheck disable=SC2317
local test_file=./tests/acceptance/fixtures/test_bashunit_when_a_test_fail.sh

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
..F..

There was 1 failure:

|1) ./tests/acceptance/fixtures/test_bashunit_when_a_test_fail.sh
|✗ Failed: Assert failing
| Expected '1'
| but got  '0'



Tests:  4 passed, 1 failed, 5 total
Assertions: 6 passed, 1 failed, 7 total

 Some tests failed 
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
..F..

There was 1 failure:

|1) ./tests/acceptance/fixtures/test_bashunit_when_a_test_fail.sh
|✗ Failed: Assert failing
| Expected '1'
| but got  '0'



Tests:  4 passed, 1 failed, 5 total
Assertions: 6 passed, 1 failed, 7 total

 Some tests failed 

0 comments on commit 7a7cc5a

Please sign in to comment.