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

Add customizable equality compare option #41

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

takashabe
Copy link
Contributor

Thank you for this great library.
I've added the WithEqualFn option. By allowing users to use customizable comparison functions, this is particularly useful in scenarios where you don't want to compare the entire file.

This PR resolves #27

@takashabe
Copy link
Contributor Author

@sebdah ping

@sebdah sebdah self-assigned this Jul 14, 2023
@sebdah
Copy link
Owner

sebdah commented Jul 14, 2023

Thanks for this contribution <3!

@sebdah sebdah merged commit 083c801 into sebdah:master Jul 14, 2023
@takashabe takashabe deleted the add-equalfn branch July 18, 2023 01:37
@iwinux
Copy link

iwinux commented Aug 2, 2024

Hi, would you tag a new release for this update? The latest tag is still v2.5.3.

@sebdah
Copy link
Owner

sebdah commented Aug 4, 2024

@iwinux Sorry about that, pushed v2.5.4 now

renovate bot referenced this pull request in jippi/dottie Aug 4, 2024
…mod (#68)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/sebdah/goldie/v2](https://togithub.com/sebdah/goldie) |
`v2.5.3` -> `v2.5.5` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fsebdah%2fgoldie%2fv2/v2.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fsebdah%2fgoldie%2fv2/v2.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fsebdah%2fgoldie%2fv2/v2.5.3/v2.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fsebdah%2fgoldie%2fv2/v2.5.3/v2.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>sebdah/goldie (github.com/sebdah/goldie/v2)</summary>

### [`v2.5.5`](https://togithub.com/sebdah/goldie/releases/tag/v2.5.5)

[Compare
Source](https://togithub.com/sebdah/goldie/compare/v2.5.4...v2.5.5)

#### What's Changed

- Accept sub sub test name for dir by
[@&#8203;nervo](https://togithub.com/nervo) in
[https://github.com/sebdah/goldie/pull/40](https://togithub.com/sebdah/goldie/pull/40)

#### New Contributors

- [@&#8203;nervo](https://togithub.com/nervo) made their first
contribution in
[https://github.com/sebdah/goldie/pull/40](https://togithub.com/sebdah/goldie/pull/40)

**Full Changelog**:
sebdah/goldie@v2.5.4...v2.5.5

### [`v2.5.4`](https://togithub.com/sebdah/goldie/releases/tag/v2.5.4)

[Compare
Source](https://togithub.com/sebdah/goldie/compare/v2.5.3...v2.5.4)

#### What's Changed

- Add customizable equality compare option by
[@&#8203;takashabe](https://togithub.com/takashabe) in
[https://github.com/sebdah/goldie/pull/41](https://togithub.com/sebdah/goldie/pull/41)
- Don't remove nested subdirectories by
[@&#8203;adamhicks](https://togithub.com/adamhicks) in
[https://github.com/sebdah/goldie/pull/43](https://togithub.com/sebdah/goldie/pull/43)

#### New Contributors

- [@&#8203;takashabe](https://togithub.com/takashabe) made their first
contribution in
[https://github.com/sebdah/goldie/pull/41](https://togithub.com/sebdah/goldie/pull/41)
- [@&#8203;adamhicks](https://togithub.com/adamhicks) made their first
contribution in
[https://github.com/sebdah/goldie/pull/43](https://togithub.com/sebdah/goldie/pull/43)

**Full Changelog**:
sebdah/goldie@v2.5.3...v2.5.4

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* */8 * * *" (UTC), Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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 was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/jippi/dottie).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

.Contains()-type functionality?
3 participants