Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: clux <sszynrae@gmail.com>
  • Loading branch information
clux committed Dec 4, 2023
1 parent fec0e0d commit 94d8820
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions test/install.test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,14 @@ exists() {
yq --help | rg "Rust implementation"

exists rust-analyzer
hx --health rust | rg "Binary" | rg -v "not found"
hx --health markdown | rg "Binary" | rg -v "not found"
hx --health bash | rg "Binary" | rg -v "not found"
hx --health rust | rg -A1 "language servers" | rg -q ""
hx --health markdown | rg -A1 "language servers" | rg -q ""
hx --health bash | rg -A1 "language servers" | rg -q ""

if [[ "${OSTYPE}" =~ "darwin" ]]; then
hx --health hcl | rg "Binary" | rg -v "not found"
hx --health hcl | rg -A1 "language servers" | rg -q ""
fi
hx --health yaml | rg "Binary" | rg -v "not found"
hx --health yaml | rg -A1 "language servers" | rg -q ""

# New stable every 6th Thursday, ensure we're not more than 7 weeks behind
if [[ "${OSTYPE}" =~ "darwin" ]]; then
Expand Down

0 comments on commit 94d8820

Please sign in to comment.