v1.6.0: Homebrew tap, Pages, PT-BR docs, 6 new test modules

This commit is contained in:
2026-06-20 13:30:13 -03:00
parent 25fac5f43f
commit 381540f9a9
12 changed files with 365 additions and 2 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env bats
setup() {
load '../lib/colors.sh'
load '../lib/detect.sh'
load '../lib/doctor.sh'
}
@test "run_doctor exits cleanly" {
run run_doctor 2>/dev/null || true
[ "$status" -eq 0 ]
}
@test "run_doctor detects missing libs" {
local old_dir="$LIB_DIR"
LIB_DIR="/nonexistent"
run run_doctor 2>/dev/null || true
LIB_DIR="$old_dir"
echo "$output" | grep -qi "missing\|error"
}