Skip to content

number followed by a newline doesn't roundtrip #46

@blearyeyed

Description

@blearyeyed

Test case for t/tml-local/yaml-roundtrip/quoting.tml:

=== Number followed by a newline
--- yaml

---
foo: "0\n"
--- perl
[ { foo => "0\n" } ]

Output:

        #   Failed test 'YAML::Tiny round-trips without error'
        #   at t/lib//TestBridge.pm line 161.
        #          got: 'YAML::Tiny does not support a feature in line ''0' at t/lib//TestBridge.pm line 160.
        # '
        #     expected: ''

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions