Skip to content

fix: Use searchPattern argument in GetFiles method to complete the logic - #988

Merged
mergify[bot] merged 4 commits into
TestableIO:mainfrom
AK1llv:patch-1
May 17, 2023
Merged

fix: Use searchPattern argument in GetFiles method to complete the logic#988
mergify[bot] merged 4 commits into
TestableIO:mainfrom
AK1llv:patch-1

Conversation

@AK1llv

Copy link
Copy Markdown
Contributor

It should use the searchPattern argument to complete the logic.

I found it while working with MockDirectoryInfo.EnumerateFiles(searchPattern, enumerationOptions)
It didnt respect the searchPattern and my tests failed, so I decided to check the source.

It should use the searchPattern argument to complete the logic.
@AK1llvAK1llv changed the title Update MockDirectory.csUse searchPattern argument in GetFiles method to complete the logicMay 15, 2023
@AK1llvAK1llv changed the title Use searchPattern argument in GetFiles method to complete the logicfix: Use searchPattern argument in GetFiles method to complete the logicMay 15, 2023
@fl3pp

Copy link
Copy Markdown
Contributor

+1 👍

@AK1llv

Copy link
Copy Markdown
ContributorAuthor

@fgreinacher there is also a problem with the Codacy Static Code Analysis

@AK1llv

Copy link
Copy Markdown
ContributorAuthor

image

@fgreinacher
fgreinacher enabled auto-merge (squash) May 17, 2023 22:08
@fgreinacher
fgreinacher disabled auto-merge May 17, 2023 22:08

@fgreinacherfgreinacher left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice catch, thanks for the fix!

@mergify
mergifyBot merged commit 41c7f0d into TestableIO:mainMay 17, 2023
vbreuss referenced this pull request in Testably/Testably.Abstractions May 19, 2023
…19.2.29 (#312)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[TestableIO.System.IO.Abstractions](https://togithub.com/TestableIO/System.IO.Abstractions)
| nuget | patch | `19.2.26` -> `19.2.29` |
---
### Release Notes
<details>
<summary>TestableIO/System.IO.Abstractions</summary>
###
[`v19.2.29`](https://togithub.com/TestableIO/System.IO.Abstractions/releases/tag/v19.2.29)
##### What's Changed
- chore(deps): update dependency microsoft.net.test.sdk to v17.6.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/TestableIO/System.IO.Abstractions/pull/989](https://togithub.com/TestableIO/System.IO.Abstractions/pull/989)
- chore(deps): update dependency dotnet-sdk to v7.0.302 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/TestableIO/System.IO.Abstractions/pull/990](https://togithub.com/TestableIO/System.IO.Abstractions/pull/990)
- fix: Use searchPattern argument in GetFiles method to complete the
logic by [@&#8203;AK1llv](https://togithub.com/AK1llv) in
[https://github.com/TestableIO/System.IO.Abstractions/pull/988](https://togithub.com/TestableIO/System.IO.Abstractions/pull/988)
##### New Contributors
- [@&#8203;AK1llv](https://togithub.com/AK1llv) made their first
contribution in
[https://github.com/TestableIO/System.IO.Abstractions/pull/988](https://togithub.com/TestableIO/System.IO.Abstractions/pull/988)
**Full Changelog**:
TestableIO/System.IO.Abstractions@v19.2.26...v19.2.29
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Testably/Testably.Abstractions).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS44OS4xIiwidXBkYXRlZEluVmVyIjoiMzUuODkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

This is addressed in release v19.2.29.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state: releasedIssues that are released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@AK1llv@fl3pp@fgreinacher