Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSloth-dev committed Jan 30, 2025
1 parent 8d2f3d9 commit a08d4ff
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions test/tests_zmux.bats
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,18 @@ setup() {
export PATH=$PATH:/usr/bin
}

@test "Error when yq is missing" {
cp /usr/bin/awk .
cp /usr/bin/bash .
cp /usr/bin/env .
cp /usr/bin/tmux .
cp /usr/bin/fzf .
export PATH=$PWD
run $DIR/../zmux
assert_failure
assert_output --partial "yq is required but not installed"
export PATH=$PATH:/usr/bin
}
# @test "Error when yq is missing" {
# cp /usr/bin/awk .
# cp /usr/bin/bash .
# cp /usr/bin/env .
# cp /usr/bin/tmux .
# cp /usr/bin/fzf .
# export PATH=$PWD
# run $DIR/../zmux
# assert_failure
# assert_output --partial "yq is required but not installed"
# export PATH=$PATH:/usr/bin
# }

@test "Error on missing YAML config" {
rm -f "${HOME}/.config/zmux/config.yaml"
Expand Down

0 comments on commit a08d4ff

Please sign in to comment.