diff --git a/tests/acceptance/bashunit_stop_on_failure_test.sh b/tests/acceptance/bashunit_stop_on_failure_test.sh index fa24ab32..3fee238b 100644 --- a/tests/acceptance/bashunit_stop_on_failure_test.sh +++ b/tests/acceptance/bashunit_stop_on_failure_test.sh @@ -25,14 +25,8 @@ function test_different_snapshots_matches() { } function test_bashunit_when_stop_on_failure_env_simple_output() { - todo "Should print something like .F" - return - - # shellcheck disable=SC2317 local test_file=./tests/acceptance/fixtures/test_bashunit_when_stop_on_failure.sh - # shellcheck disable=SC2317 assert_match_snapshot "$(./bashunit --no-parallel --env "$TEST_ENV_FILE_STOP_ON_FAILURE" "$test_file" --simple)" - # shellcheck disable=SC2317 assert_general_error "$(./bashunit --no-parallel --env "$TEST_ENV_FILE_STOP_ON_FAILURE" "$test_file" --simple)" } diff --git a/tests/acceptance/snapshots/bashunit_stop_on_failure_test_sh.test_bashunit_when_stop_on_failure_env_simple_output.snapshot b/tests/acceptance/snapshots/bashunit_stop_on_failure_test_sh.test_bashunit_when_stop_on_failure_env_simple_output.snapshot new file mode 100644 index 00000000..bccd2609 --- /dev/null +++ b/tests/acceptance/snapshots/bashunit_stop_on_failure_test_sh.test_bashunit_when_stop_on_failure_env_simple_output.snapshot @@ -0,0 +1,17 @@ +.F +Stop on failure enabled... + + +There was 1 failure: + +|1) ./tests/acceptance/fixtures/test_bashunit_when_stop_on_failure.sh +|✗ Failed: B error +| Expected '1' +| but got  '2' + + + +Tests:  1 passed, 1 failed, 2 total +Assertions: 3 passed, 1 failed, 4 total + + Some tests failed