Pest: Uppercase values in a dataset wrongly displayed in the output

Created on 30 May 2020  路  3Comments  路  Source: pestphp/pest

Hello 馃憢

I've encountered a weird "issue" while using a dataset with uppercase values:

->with([
  ['Foo', 'Bar', '[email protected]', LocaleEnum::EN, RoleEnum::ADMINISTRATOR]
])

Test output:

Capture d鈥檈虂cran 2020-05-30 a虁 16 45 47

If 'Foo' is given, I'm expecting it to be displayed as 'Foo' not ' foo' 馃

Thanks for your time! 馃槃

Most helpful comment

@nunomaduro my bad did not find it (should have used 'capitalized' instead of 'uppercase' in my search...).

All 3 comments

You can follow that issue here: https://github.com/pestphp/pest/issues/9.

@nunomaduro my bad did not find it (should have used 'capitalized' instead of 'uppercase' in my search...).

I added the keyword to one of my comment.
Other might search for it that way too. Thanks for explaining that 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zingimmick picture zingimmick  路  3Comments

nunomaduro picture nunomaduro  路  5Comments

olivernybroe picture olivernybroe  路  7Comments

albertpratomo picture albertpratomo  路  7Comments

rihardssceredins picture rihardssceredins  路  5Comments