blakeembrey / change-case

Convert strings between camelCase, PascalCase, Capital Case, snake_case and more
MIT License
2.21k stars 92 forks source link

Bugfix not passing options recursively #334

Closed Quicksaver closed 4 months ago

Quicksaver commented 5 months ago

As title says, options were not being passed recursively in changeKeys.

blakeembrey commented 5 months ago

Thanks for the catch! Would you be interested in adding a small test case?

Quicksaver commented 4 months ago

@blakeembrey there you go 😁 test successfully fails without the patch

Quicksaver commented 4 months ago

@blakeembrey I reworked a tiny bit how options per-test are stored, I think it's easier to add and maintain future tests this way.

blakeembrey commented 4 months ago

Awesome, thanks!