Skip to content

feat(assert): report missing arguments - #989

Merged
Chemaclass merged 1 commit into
mainfrom
feat/assert-arity-errors
Aug 7, 2026
Merged

feat(assert): report missing arguments#989
Chemaclass merged 1 commit into
mainfrom
feat/assert-arity-errors

Conversation

@Chemaclass

Copy link
Copy Markdown
Member

Summary

  • report under-supplied core comparison assertions as test usage errors
  • preserve explicit empty values, optional trailing arguments, and over-supplied calls
  • route usage diagnostics through the existing Error channel without adding forks
  • cover 21 core assertions: equality, containment/regex, prefix/suffix/format, numeric comparisons, delta, and line count

Closes #983

Validation

  • make sa
  • make lint
  • ./bashunit --parallel --simple --strict tests/ (1,653 tests)
  • bash build.sh bin -v (1,653 tests)

@Chemaclass
Chemaclass merged commit cb825dc into main Aug 7, 2026
37 checks passed
@Chemaclass
Chemaclass deleted the feat/assert-arity-errors branch August 7, 2026 15:30
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.

feat(assert): a missing argument reports a failed assertion, not a usage error

1 participant