Skip to content

Conversation

mhashizume
Copy link
Contributor

rspec-expectations recently released v3.13.2, which includes a change to the include matcher (see rspec/rspec-expectations@bd5d306).

This change breaks using the splat operator on an array into the include matcher.

This commit updates the matcher to iterate over the array instead of using the splat operator.

rspec-expectations recently released v3.13.2, which includes a change to
the include matcher (see rspec/rspec-expectations@bd5d306).

This change breaks using the splat operator on an array into the include
matcher.

This commit updates the matcher to iterate over the array instead of
using the splat operator.
@mhashizume mhashizume added the maintenance Maintenance chores are excluded from changelogs label Aug 26, 2024
@mhashizume mhashizume requested a review from a team as a code owner August 26, 2024 19:32
@mhashizume
Copy link
Contributor Author

Example of a test failure addressed by this PR: https://github.com/puppetlabs/puppet/actions/runs/10565592677/job/29270718861?pr=9454

Copy link
Contributor

@joshcooper joshcooper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the breadcrumbs!

@joshcooper joshcooper merged commit 259ff9a into puppetlabs:main Aug 27, 2024
10 checks passed
@joshcooper
Copy link
Contributor

Should this be backported to 7.x?

@mhashizume
Copy link
Contributor Author

mhashizume commented Aug 27, 2024

Should this be backported to 7.x?

Yeah AFAIK this affects both streams

@mhashizume mhashizume added the backport 7.x Generate a backport PR to 7.x label Aug 27, 2024
Copy link

Successfully created backport PR for 7.x:

@mhashizume mhashizume deleted the maint/main/expectations-include branch August 27, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 7.x Generate a backport PR to 7.x maintenance Maintenance chores are excluded from changelogs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants