Skip to content

Commit

Permalink
test: Skip Fish test if not installed (#1463)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperupcall committed Jan 29, 2023
1 parent d9a0454 commit aa0abfa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/asdf_fish.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit aa0abfa

Please sign in to comment.