Skip to content

test issue_848_overflow_incomplete_bits_to_bytes fails on 32-bit architectures #1278

@decathorpe

Description

@decathorpe

The weird thing is that this test apparently does not cause an overflow on 32-bit architectures, but does produce an overflow on 64-bit architectures ...

---- issue_848_overflow_incomplete_bits_to_bytes stdout ----
thread 'issue_848_overflow_incomplete_bits_to_bytes' panicked at 'assertion failed: `(left == right)`
  left: `Ok(([], []))`,
 right: `Err(Failure(Error { input: [], code: TooLarge }))`', tests/issues.rs:294:3
  • Rust version : 1.49.0
  • nom version : 6.1.0
  • nom compilation features used: default

PS: Tests were run in release mode, which might affect overflow behaviour`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions