From c69fee5722cd5e9639945e71472c40f8919fb79c Mon Sep 17 00:00:00 2001 From: Daniel Luz Date: Wed, 4 Sep 2024 00:31:42 -0300 Subject: [PATCH] Stub compopt for the tests --- tests/test-utils | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test-utils b/tests/test-utils index 3e8d1c9..5980479 100644 --- a/tests/test-utils +++ b/tests/test-utils @@ -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" }