Skip to content

emrg: add write_tool content-too-large error path test - #24

Merged
argszero merged 1 commit into
masterfrom
test/add-write-too-large
Jul 18, 2026
Merged

emrg: add write_tool content-too-large error path test#24
argszero merged 1 commit into
masterfrom
test/add-write-too-large

Conversation

@argszero

Copy link
Copy Markdown
Owner

Adds test_write_content_too_large covering the MAX_WRITE_SIZE guard in write_tool.execute(). Uses monkeypatch to lower the threshold to 100 bytes, then verifies the tool returns error=True and does not create the file.

@argszero argszero left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

✅ LGTM — cycle #23

@argszero argszero left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

✅ LGTM — cycle #24

@argszero argszero left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

✅ LGTM — cycle #25

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