Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Add test for #2515 #2539

Merged
merged 2 commits into from
Apr 24, 2018
Merged

Add test for #2515 #2539

merged 2 commits into from
Apr 24, 2018

Conversation

benoittgt
Copy link
Member

Hello

Add tests for #2515

I'm not sure about the test title.

Systho and others added 2 commits April 24, 2018 20:43
If the two arrays are the same, `find()` returns `nil`. This case must be accounted for
@xaviershay
Copy link
Member

I'm not that familiar with this code or how this would happen in practice ("parent and child have same file" seems pretty suggestive though), but this looks pretty safe. Worst case we should be coding defensively against find not finding anything.

@xaviershay xaviershay merged commit 0b4fba0 into rspec:master Apr 24, 2018
@xaviershay
Copy link
Member

thank you!

@benoittgt benoittgt deleted the patch-1 branch April 25, 2018 07:02
JonRowe added a commit that referenced this pull request Apr 25, 2018
MatheusRich pushed a commit to MatheusRich/rspec-core that referenced this pull request Oct 30, 2020
MatheusRich pushed a commit to MatheusRich/rspec-core that referenced this pull request Oct 30, 2020
yujinakayama pushed a commit to yujinakayama/rspec-monorepo that referenced this pull request Oct 6, 2021
yujinakayama pushed a commit to yujinakayama/rspec-monorepo that referenced this pull request Oct 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants