Skip to content

test(messages): restore + and 1) list-prefix rows - #812

Closed
salman1993 wants to merge 1 commit into
mainfrom
restore-list-prefix-rows
Closed

salman1993 wants to merge 1 commit into
mainfrom
restore-list-prefix-rows

Conversation

@salman1993

Copy link
Copy Markdown
Contributor

Goal

Restore two block-prefix rows that #800 removed: + (bullet list) and 1) (ordered list), in EditableInput.test.tsx "opens a block as the space of %j is typed, with one undo restoring the prefix".

Follow-up to this review comment on #800. composer-blocks.ts PREFIX explicitly accepts + and ), and after #800 no test typed either form, so dropping them from the regex would have passed CI.

Non-goals: no production change, and the • row stays removed (a separate test covers it).

Validation

  • The table passes: 6 cases.
  • Fail-then-pass: with + and ) temporarily removed from PREFIX, exactly these two rows fail. Restoring the regex makes them pass again. The regex change was not committed.
  • Pre-commit and pre-push hooks passed.

No browser cases added or removed. No human testing needed beyond review: this change is test-only.

🤖 Generated with Claude Code

#800 dropped these rows from the block-prefix table, but composer-blocks.ts
PREFIX accepts + and ) and no other test types either form. Removing them
from PREFIX now fails exactly these two rows.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Salman Mohammed <[email protected]>
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