Skip to content

compiletest: normalization replacement strings don't support newlines #133735

Open
@jieyouxu

Description

@jieyouxu

It will affect every normalize- header, but since none of those currently have a \n in them, no other tests will be affected (other than the one I'm adding).

There is currently no way to a new-line in the replacement string, I tried a bunch of things and just gave up and added this mini logic.

Originally posted by @Urgau in #133710 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-compiletestArea: The compiletest test runnerC-enhancementCategory: An issue proposing an enhancement or a PR with one.E-hardCall for participation: Hard difficulty. Experience needed to fix: A lot.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions