Skip to content

Commit c69fee5

Browse files
committed
Stub compopt for the tests
1 parent 6d71b55 commit c69fee5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test-utils

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#! bash
22
[[ -n $BASH_COMPLETION_SCRIPT ]] && source "$BASH_COMPLETION_SCRIPT"
33

4+
# This builtin only works in real completions, so stub it for the tests
5+
compopt() { true; }
6+
47
begin-test() {
58
echo "TEST: $1"
69
}

0 commit comments

Comments
 (0)