Skip to content

Commit

Permalink
Merge branch 'fix/381-multiple-errors-display-lines'
Browse files Browse the repository at this point in the history
  • Loading branch information
Chemaclass committed Dec 6, 2024
2 parents b365916 + e7fb8b9 commit dcef37e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/acceptance/bashunit_fail_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,31 +25,23 @@ function test_different_verbose_snapshots_matches() {
}

function test_bashunit_when_a_test_fail_simple_output_env() {
# shellcheck disable=SC2317
local test_file=./tests/acceptance/fixtures/test_bashunit_when_a_test_fail.sh

# shellcheck disable=SC2317
assert_match_snapshot "$(./bashunit --no-parallel --env "$TEST_ENV_FILE_SIMPLE" "$test_file")"
# shellcheck disable=SC2317
assert_general_error "$(./bashunit --no-parallel --env "$TEST_ENV_FILE_SIMPLE" "$test_file")"
}

function test_bashunit_when_a_test_fail_simple_output_option() {
# shellcheck disable=SC2317
local test_file=./tests/acceptance/fixtures/test_bashunit_when_a_test_fail.sh

# shellcheck disable=SC2317
assert_match_snapshot "$(./bashunit --no-parallel --env "$TEST_ENV_FILE" "$test_file" --simple)"
# shellcheck disable=SC2317
assert_general_error "$(./bashunit --no-parallel --env "$TEST_ENV_FILE" "$test_file" --simple)"
}

function test_bashunit_with_multiple_failing_tests() {
local test_file=./tests/acceptance/fixtures/test_bashunit_with_multiple_failing_tests.sh

# shellcheck disable=SC2317
assert_match_snapshot "$(./bashunit --no-parallel --env "$TEST_ENV_FILE" "$test_file")"
# shellcheck disable=SC2317
assert_general_error "$(./bashunit --no-parallel --env "$TEST_ENV_FILE" "$test_file" --simple)"
}

Expand Down

0 comments on commit dcef37e

Please sign in to comment.