test: Skip Fish test if not installed (#1463)

This commit is contained in:
Edwin Kofler 2023-01-28 17:51:54 -08:00 committed by GitHub
parent d9a0454c6c
commit aa0abfa504
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,10 @@ load test_helpers
setup() {
cd "$(dirname "$BATS_TEST_DIRNAME")"
if ! command -v fish; then
skip "Fish is not installed"
fi
}
cleaned_path() {