diff --git a/tests/acceptance/bashunit_fail_test.sh b/tests/acceptance/bashunit_fail_test.sh index b343aea5..7e7a1ea2 100644 --- a/tests/acceptance/bashunit_fail_test.sh +++ b/tests/acceptance/bashunit_fail_test.sh @@ -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 @@ -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 diff --git a/tests/acceptance/snapshots/bashunit_fail_test_sh.test_bashunit_when_a_test_fail_simple_output_env.snapshot b/tests/acceptance/snapshots/bashunit_fail_test_sh.test_bashunit_when_a_test_fail_simple_output_env.snapshot new file mode 100644 index 00000000..f1c6b334 --- /dev/null +++ b/tests/acceptance/snapshots/bashunit_fail_test_sh.test_bashunit_when_a_test_fail_simple_output_env.snapshot @@ -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  diff --git a/tests/acceptance/snapshots/bashunit_fail_test_sh.test_bashunit_when_a_test_fail_simple_output_option.snapshot b/tests/acceptance/snapshots/bashunit_fail_test_sh.test_bashunit_when_a_test_fail_simple_output_option.snapshot new file mode 100644 index 00000000..f1c6b334 --- /dev/null +++ b/tests/acceptance/snapshots/bashunit_fail_test_sh.test_bashunit_when_a_test_fail_simple_output_option.snapshot @@ -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