Skip to content

fix: use 'nonZero' exit code expectation for invalid --since @W-22435573#417

Merged
andresrivas-sf merged 1 commit into
mainfrom
sh/fix-exit-code-expectation
May 11, 2026
Merged

fix: use 'nonZero' exit code expectation for invalid --since @W-22435573#417
andresrivas-sf merged 1 commit into
mainfrom
sh/fix-exit-code-expectation

Conversation

@shetzel
Copy link
Copy Markdown
Contributor

@shetzel shetzel commented May 11, 2026

Summary

  • Update the "rejects an invalid --since value" NUT in test/nuts/z4.agent.trace.list.nut.ts to use ensureExitCode: 'nonZero' instead of 1, so the test does not depend on a specific non-zero exit code.

@W-22435573@

Test plan

  • CI runs z4.agent.trace.list.nut.ts and the rejects an invalid --since value test passes.

🤖 Generated with Claude Code

@shetzel shetzel changed the title test: use 'nonZero' exit code expectation for invalid --since fix: use 'nonZero' exit code expectation for invalid --since @W-22435573 May 11, 2026
Copy link
Copy Markdown
Contributor

@andresrivas-sf andresrivas-sf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for fixing it

@andresrivas-sf andresrivas-sf merged commit 4f870bd into main May 11, 2026
15 of 16 checks passed
@andresrivas-sf andresrivas-sf deleted the sh/fix-exit-code-expectation branch May 11, 2026 16:19
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.

2 participants