Skip to content

Conversation

@kt3k
Copy link
Member

@kt3k kt3k commented Jun 18, 2025

This PR fixes assertion error message of assert.ok, which is currently empty, but the message need to be something like false == true.

This PR also fixes the stack trace of AssertionError. Currently all callsites are included in captured stack. This change excludes AssertionError from it.

This enables parallel/test-assert-builtins-not-read-from-filesystem.js

towards #29801

@kt3k kt3k mentioned this pull request Jun 18, 2025
12 tasks
@kt3k kt3k requested a review from bartlomieju June 19, 2025 06:50
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM, nice fix

@kt3k kt3k merged commit 284f652 into denoland:main Jun 19, 2025
18 checks passed
@kt3k kt3k deleted the fix-ext-node-assert-ok branch June 19, 2025 12:35
CyanChanges pushed a commit to CyanChanges/deno that referenced this pull request Jun 23, 2025
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