Skip to content

Commit

Permalink
Fix false-negative test case for __bp_install
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Feb 3, 2024
1 parent f872f3f commit 9b7eff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/bash-preexec.bats
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ set_exit_code_and_run_precmd() {

eval_PROMPT_COMMAND

[[ "$PROMPT_COMMAND" != *"trap DEBUG"* ]] || return 1
[[ "$PROMPT_COMMAND" != *"trap - DEBUG"* ]] || return 1
[[ "$PROMPT_COMMAND" != *"__bp_install"* ]] || return 1
}

Expand Down

0 comments on commit 9b7eff2

Please sign in to comment.