Skip to content

feat(test): support value comparisons - #1266

Open
oiahoon wants to merge 1 commit into
shelljs:mainfrom
oiahoon:feat/test-value-comparisons
Open

feat(test): support value comparisons#1266
oiahoon wants to merge 1 commit into
shelljs:mainfrom
oiahoon:feat/test-value-comparisons

Conversation

@oiahoon

@oiahoon oiahoon commented Aug 26, 2026

Copy link
Copy Markdown

Summary

  • add string equality, inequality, empty, and nonempty expressions to test
  • add the six standard integer comparison operators with strict integer validation
  • preserve filesystem tests and option-object compatibility, with generated README documentation

Fixes #1230

Verification

  • npx ava test/test.js (30 passed on Node 22, 24, and 26)
  • npx ava --match='!*setuid*' --match='!*setgid*' (634 passed, 6 skipped)
  • npm run lint
  • npm run check-node-support
  • npm run gendocs

The unfiltered suite has two macOS permission-bit failures for setuid/setgid; both reproduce on the unchanged base commit.

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.

Support test on environment variable's value

1 participant