Skip to content

(Undesired?) leading whitespace in music.band #3011

@JeremasPosta

Description

@JeremasPosta

Describe the bug

Hi all.

Just came upon a flaky test on our app because of this music.band starting with an empty space.
Not your fault at all, but happy to open a PR for updating it if you are good with that.


I did git-blame this file and I don't think this was purposely added so long ago.

To Reproduce

Just use Faker::Music.band

1000.times{band = Faker::Music.band; puts band if band.starts_with?(' ')}
 The
 The
 The
 The
 The
=> 1000

Expected behavior

I would not expect to have just ONE example breaking the convention.

Additional context

Proposed fix:

  • Just remove that one

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions