From 560d6090137be6b117aaeeaf561387306c4aa623 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Sat, 6 Sep 2025 08:26:50 +0200 Subject: [PATCH] test: ensure autocomplete output works See https://git.coopcloud.tech/toolshed/abra/issues/649 --- tests/integration/autocomplete.bats | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 tests/integration/autocomplete.bats diff --git a/tests/integration/autocomplete.bats b/tests/integration/autocomplete.bats new file mode 100644 index 000000000..48af6f0b4 --- /dev/null +++ b/tests/integration/autocomplete.bats @@ -0,0 +1,25 @@ +#!/usr/bin/env bash + +setup_file(){ + load "$PWD/tests/integration/helpers/common" + _common_setup +} + +setup(){ + load "$PWD/tests/integration/helpers/common" + _common_setup +} + +@test "autocomplete output works" { + run $ABRA autocomplete bash + assert_success + + run $ABRA autocomplete fish + assert_success + + run $ABRA autocomplete zsh + assert_success + + run $ABRA autocomplete powershell + assert_success +}