Skip to content

fix(scripts): stop expect_failure from passing vacuously - #18

Merged
hmziqagent merged 1 commit into
masterfrom
fix/vacuous-test-helper
Oct 8, 2026
Merged

hmziqagent merged 1 commit into
masterfrom
fix/vacuous-test-helper

Conversation

@hmziqagent

Copy link
Copy Markdown
Collaborator

The publish-state test helper executed its description argument as the command (exit 127) instead of the function under test, so the three negative-path assertions — including the unparseable-429-timestamp guard this hardening campaign exists for — reported ok without testing anything. One-line shift fix; suite re-run: 36 passed, 0 failed, with the garbage-timestamp assertions now genuinely exercised.

…ilure

The negative-path assertions executed the description string as the
command (exit 127) and passed vacuously; shift removes it so the
function under test actually runs.
@hmziqagent
hmziqagent merged commit ea9b505 into master Oct 8, 2026
13 checks passed
@hmziqagent
hmziqagent deleted the fix/vacuous-test-helper branch October 8, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant