Skip to content

Option to not to normalize backslash #91

@MiSawa

Description

@MiSawa

I noticed that this fails due to "backslash to slash normalization".

bin.name = "bin-fixture"
stdout = '\'
[env.add]
stdout = '\'

It is probably useful for things that outputs paths, but is cumbersome for other things, e.g. a tool that outputs JSON, as test has to be stdout = '"/"escaped/""' for example instead of stdout = '"\"escaped\""', and there's no way to check if the output was actually correctly escaped with \.
I know that there's a bin mode, but I still want line separators normalized. It'd be great to have a way to turn off the path separator normalization feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-trycmdArea: trycmd packageenhancementImprove the expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions