Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Address test warning by declaring cucumber_opts using %w[] instead of… #463

Merged

Conversation

faisal
Copy link
Contributor

@faisal faisal commented Sep 5, 2023

Check list:

This is a minor change in the Rakefile, clearing a test warning (see 465) by declaring cucumber_opts using %w[] syntax instead of a raw string.

@faisal
Copy link
Contributor Author

faisal commented Sep 5, 2023

minitest/minitest#963

https://my.diffend.io/gems/minitest/5.18.1/5.19.0#d2h-230603

Looking to fix this in a way that's compatible across releases. Failing that, I'll lock the minitest dependency to the earlier version so we have the minimal change here.

@faisal faisal changed the title Silence test warning by declaring cucumber_opts using %w[] instead of… WIP: Silence test warning by declaring cucumber_opts using %w[] instead of… Sep 5, 2023
@faisal faisal force-pushed the clean_cucumber_opts_array_warning branch 2 times, most recently from 696ba65 to 4193774 Compare September 5, 2023 15:46
@faisal faisal changed the title WIP: Silence test warning by declaring cucumber_opts using %w[] instead of… WIP: Address test warning by declaring cucumber_opts using %w[] instead of… Sep 5, 2023
@faisal
Copy link
Contributor Author

faisal commented Sep 5, 2023

#464 fixes the issue that caused test breaks here. If we land that fix then we should undo the minitest version restriction in this PR before merging.

- Declare cucumber_opts with a %w[] instead of a string, as the latter produces a warning while testing, and may be unsafe.
@faisal faisal force-pushed the clean_cucumber_opts_array_warning branch from 4193774 to fa7a478 Compare September 13, 2023 14:44
@nunosilva800 nunosilva800 merged commit 8eaaaf7 into whitesmith:main Sep 13, 2023
26 checks passed
@faisal faisal deleted the clean_cucumber_opts_array_warning branch September 14, 2023 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants