Skip to content

Exercise enclosure-like values without skipped tests #579

Description

@claell

Problem

Ten enclosure middleware cases are currently skipped when a value itself starts and ends with braces or quotes. Those cases are ambiguous only if the test tries to infer whether a wrapper was added from the final string; the middleware's expected behavior can still be asserted directly.

The skips leave gaps in both directions:

  • removal should record and strip enclosure-like boundary characters consistently, even when the test did not add an outer wrapper; and
  • addition with no-enclosing should leave an enclosure-like value exactly unchanged rather than being skipped because it resembles wrapped output.

Proposed coverage

Replace the skip helper with explicit expected-value and metadata assertions for removal, and compare exact output for no-enclosing addition. This turns the complete enclosure matrix into executable regression coverage without changing production behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions