Skip to content

math/big: TestBytes may fail (false negative) #12231

@neelance

Description

@neelance

If quick.Check generates a byte slice that starts with 0x0, then SetBytes accepts this slice, but Bytes correctly returns the slice without the leading zero. This makes the test fail.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions