Skip to content

test bytes with nice binary string. #47

Open
@droundy

Description

@droundy

I'd love to be able to write something like

expect_test::expect_bytes![b"hello world\x83"].expect(bytes);

and have UPDATE_EXPECT=1 update the byte string to be something reasonably readable, and to give me pretty diffs for "mostly text" binary data.

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