Browse Source

2 failed tests

main
pvincent 2 weeks ago
parent
commit
bf1f802755
  1. 6
      test/poc.test.bash

6
test/poc.test.bash

@ -52,13 +52,13 @@ fail_type unbound_variable UNBOUND_VARIABLE
fail_type unbound_associative UNBOUND_VARIABLE fail_type unbound_associative UNBOUND_VARIABLE
fail_type false FALSE fail_type false FALSE
fail_type last_false COMMAND_ERROR fail_type last_false COMMAND_ERROR
fail_type command_error COMMAND_ERROR
fail_type subshell_term SUBSHELL_ERROR fail_type subshell_term SUBSHELL_ERROR
fail_type exit EXIT fail_type exit EXIT
fail_type command_not_found COMMAND_NOT_FOUND fail_type command_not_found COMMAND_NOT_FOUND
fail_type source_not_found SOURCE_NOT_FOUND fail_type source_not_found SOURCE_NOT_FOUND
# fail_type file_not_found FILE_NOT_FOUND
# fail_type subshell_error COMMAND_NOT_FOUND '(hint: prefer source than subshell)'
# fail_type command_error COMMAND_ERROR
fail_type file_not_found FILE_NOT_FOUND '(hint: prefer source than subshell)'
fail_type subshell_error COMMAND_NOT_FOUND '(hint: prefer source than subshell)'
failed=${#failures[@]} failed=${#failures[@]}
success=$((test_count - failed)) success=$((test_count - failed))

Loading…
Cancel
Save