From 95c1ff0901c50b4c4dc2373db5616a2263d54ce9 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 16 Jul 2026 14:44:05 -0700 Subject: [PATCH] Fix stale monitor assertion that silently halted the test suite 9914513a unified internal monitor detection but left the test grepping for the old jq expression. Since the suite runner stops on first failure, every test file after monitor-recovery went silently unrun -- 281 assertions were being skipped while the suite looked green. Co-Authored-By: Claude Fable 5 --- test/shell.d/monitor-recovery-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/shell.d/monitor-recovery-test.sh b/test/shell.d/monitor-recovery-test.sh index 3cf42549..063ef677 100755 --- a/test/shell.d/monitor-recovery-test.sh +++ b/test/shell.d/monitor-recovery-test.sh @@ -35,7 +35,7 @@ grep -F 'omarchy-hw-external-monitors' "$hw_clamshell" >/dev/null pass "clamshell helper detects closed-lid external monitor state" grep -F 'hyprctl monitors -j' "$monitor_external_active" >/dev/null -grep -F 'select(.name | contains("eDP") | not)' "$monitor_external_active" >/dev/null +grep -F 'select(.name | test("^(eDP|LVDS|DSI)-") | not)' "$monitor_external_active" >/dev/null grep -F 'select(.disabled == false)' "$monitor_external_active" >/dev/null pass "active external monitor helper checks Hyprland outputs"