lint: remove the SC2016 disables from the hook tests #764

Open
opened 2026-10-14 19:14:18 +00:00 by hexajon · 0 comments
Owner

What

Six jq filters in the hook tests carry an inline SC2016 disable, because the filters use jq variables such as $p inside single quotes. Three are in hooks/tests/check-foreign-primary.test.sh (lines 116, 136, 330), and three are in hooks/tests/surface-tool-error.test.sh (lines 41, 111, 159).

Acceptance

  • No SC2016 disable remains in either file.
  • shellcheck passes on both files, and every hook test still passes.
## What Six jq filters in the hook tests carry an inline SC2016 disable, because the filters use jq variables such as `$p` inside single quotes. Three are in `hooks/tests/check-foreign-primary.test.sh` (lines 116, 136, 330), and three are in `hooks/tests/surface-tool-error.test.sh` (lines 41, 111, 159). ## Acceptance - No SC2016 disable remains in either file. - shellcheck passes on both files, and every hook test still passes.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
sixfold-space/madtea#764
No description provided.