From b9025379b754cb09097acce431b7af3ea0c8f631 Mon Sep 17 00:00:00 2001 From: gastown/crew/joe Date: Sun, 11 Jan 2026 18:36:22 -0800 Subject: [PATCH] test: fix sling test for bd empty output handling The verifyFormulaExists function now checks for non-empty output, so the test stub must output something for formula show commands. Co-Authored-By: Claude Opus 4.5 --- internal/cmd/sling_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/cmd/sling_test.go b/internal/cmd/sling_test.go index 8d50cc89..c2225315 100644 --- a/internal/cmd/sling_test.go +++ b/internal/cmd/sling_test.go @@ -234,7 +234,8 @@ case "$cmd" in echo '[{"title":"Test issue","status":"open","assignee":"","description":""}]' ;; formula) - # formula show + # formula show - must output something for verifyFormulaExists + echo '{"name":"test-formula"}' exit 0 ;; cook)