Skip to content

lorem().characters() method sometimes does not include digit. #759

@swaroop-tata

Description

@swaroop-tata

Describe the bug
lorem().characters() method sometimes does not include digit.

To Reproduce
Run "lorem().characters(7,true,true)" this in a loop. Observe that some times, the generated string will miss digit.

Expected behavior
A digit must include every time when includeDigit is used.

Versions:

  • OS: Windows
  • JDK 11
  • Faker Version 1.0.2

Additional context

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