Skip to content

Refactor UTF-8 boundary tests in streaming_replacer #457

@prk-Jr

Description

@prk-Jr

Description

crates/common/src/streaming_replacer.rs contains several UTF-8 boundary tests with overlapping intent and setup, which makes the suite harder to maintain.

Done when

  • Replace overlapping UTF-8 boundary tests with a table-driven or otherwise consolidated structure.
  • Preserve coverage for multibyte and emoji boundary handling.
  • Keep the refactor limited to test organization, not runtime behavior changes.

Affected area

  • Core (synthetic IDs, cookies, GDPR)

Additional context

Source: test_gap.md, section UTF-8 Boundary Tests.
Parent issue: #396

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions