test(higgsfield): drop the two shellcheck suppressions in the suite

This commit is contained in:
bastien
2026-09-30 16:17:34 +02:00
parent a53d66af98
commit a1f7893786
+2 -4
View File
@@ -315,8 +315,7 @@ verdict OFF_BY_DEFAULT_WIRING
# ln_first / ln_last <file> <fixed string> — line number of a match. # ln_first / ln_last <file> <fixed string> — line number of a match.
ln_first() { grep -nF -- "$2" "$ROOT/$1" | head -1 | cut -d: -f1; } ln_first() { grep -nF -- "$2" "$ROOT/$1" | head -1 | cut -d: -f1; }
ln_last() { grep -nF -- "$2" "$ROOT/$1" | tail -1 | cut -d: -f1; } ln_last() { grep -nF -- "$2" "$ROOT/$1" | tail -1 | cut -d: -f1; }
# shellcheck disable=SC2016 # a literal to grep for, not an expansion PINS="apply_effort_pins \"\$REPO\""
PINS='apply_effort_pins "$REPO"'
# install-plugins.sh: the sync sits in Step 8.6, before the effort pins # install-plugins.sh: the sync sits in Step 8.6, before the effort pins
# (BDR-108); the CLI is proven by a probe, not by its shim; every login # (BDR-108); the CLI is proven by a probe, not by its shim; every login
@@ -338,8 +337,7 @@ verdict INSTALL_WIRING
# update-all.sh: refresh before the 21st block and before the pins re-apply, # update-all.sh: refresh before the 21st block and before the pins re-apply,
# and the updated CLI is proven by the probe, after the npm call. # and the updated CLI is proven by the probe, after the npm call.
# shellcheck disable=SC2016 # a literal to grep for, not an expansion NPM_UP="npm install -g \"\$HF_PKG\""
NPM_UP='npm install -g "$HF_PKG"'
sync_ln="$(ln_last update-all.sh 'higgsfield_sync_skills')" sync_ln="$(ln_last update-all.sh 'higgsfield_sync_skills')"
expect before-21st "$(yn test "$sync_ln" -lt \ expect before-21st "$(yn test "$sync_ln" -lt \
"$(ln_first update-all.sh '7.4. Update the 21st.dev')")" yes "$(ln_first update-all.sh '7.4. Update the 21st.dev')")" yes