Skip to content

Commit

Permalink
Stub compopt for the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mernen committed Sep 4, 2024
1 parent 6d71b55 commit c69fee5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test-utils
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#! bash
[[ -n $BASH_COMPLETION_SCRIPT ]] && source "$BASH_COMPLETION_SCRIPT"

# This builtin only works in real completions, so stub it for the tests
compopt() { true; }

begin-test() {
echo "TEST: $1"
}
Expand Down

0 comments on commit c69fee5

Please sign in to comment.