Skip to content

docs: correct addTest tip and bounds trap wording - #444

Open
mliemm wants to merge 1 commit into
vercel-labs:mainfrom
mliemm:docs/addtest-tip-trap-wording
Open

mliemm wants to merge 1 commit into
vercel-labs:mainfrom
mliemm:docs/addtest-tip-trap-wording

Conversation

@mliemm

@mliemm mliemm commented Nov 11, 2026

Copy link
Copy Markdown

Problem

Two small mismatches on main:

  1. The zero test tip shows addTest without the required arg1 attribute, so following the tip fails validation.
  2. skill-data/language.md says an out-of-range index exits with no output, but the runtime prints trap: index out of bounds to stderr.

Fixes #442.

Change

Update the tip to the two-argument form used by the patch examples, correct the language reference wording, and regenerate embedded_skills.inc from skill-data.

Verification

  • make -C native/zero-c
  • node --experimental-strip-types --disable-warning=ExperimentalWarning scripts/embed-skill-data.mts

The addTest tip omitted the required arg1 attribute, so following it failed validation. The language reference also said an out-of-range index exits without output, but the runtime prints trap: index out of bounds to stderr.

Fixes vercel-labs#442
Copilot AI balanced review requested due to automatic review settings November 11, 2026 06:41
@vercel

vercel Bot commented Nov 11, 2026

Copy link
Copy Markdown

@mliem2k is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

This branch has not been deployed

No deployments
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.

Fix addTest tip and out-of-bounds trap wording

2 participants