Skip to content

Refactor the code in the caret position algorithm test. #2026

@andy840119

Description

@andy840119

createCaretPosition and createExpectedCaretPosition in every caret position algorithm test looks fucking weird.
Not really sure have the better coding style for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good for contributorThose issues does not UX or behavior-related, so did not need lots of discussion.code qualityImprove code quality.testTest needed/included

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions