build(deps): bump github.com/maxbrunsfeld/counterfeiter/v6 from 6.13.0 to 6.14.0 in the all group across 1 directory #1571
Hi @dependabot[bot]. Thanks for your PR.
I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.
Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.
<details>
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
</details>
Approved these changes.
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: <a href="https://github.com/kubernetes-sigs/zeitgeist/pull/1571#pullrequestreview-5362001905" title="Approved">cpanato</a>, <a href="https://github.com/kubernetes-sigs/zeitgeist/pull/1571#" title="Author self-approved">dependabot[bot]</a>
The full list of commands accepted by this bot can be found here.
The pull request process is described here
<details >
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
</details>
<!-- META={"approvers":[]} -->
cpanato
dependabot[bot]
Bumps the all group with 1 update in the / directory: github.com/maxbrunsfeld/counterfeiter/v6.
Updates
github.com/maxbrunsfeld/counterfeiter/v6from 6.13.0 to 6.14.0<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/maxbrunsfeld/counterfeiter/releases">github.com/maxbrunsfeld/counterfeiter/v6's releases</a>.</em></p>
<blockquote>
<h2>v6.14.0</h2>
<p>This release has two additions to the fake API for reading back what a fake was called with, a fix for a race in methods without return values, and a guide for anyone coming from gomock.</p>
<h2>Inspecting calls</h2>
<ul>
<li>🆕 <code><Method>Args()</code> returns every call to a method as a slice of structs, with one exported field per argument: <code>FakeMySpecialInterfaceDoThingsArgs{Arg1: "stuff", Arg2: 5}</code>. You can check a whole call with one <code>Equal</code> or <code>cmp.Diff</code>, and skip an argument with <code>cmpopts.IgnoreFields</code>. Function fakes get the same thing as <code>Args()</code>. <code>ArgsForCall</code> still works as before. <a href="https://github.com/dnephin"><code>@dnephin</code></a> asked for this in 2018. (<a href="https://redirect.github.com/maxbrunsfeld/counterfeiter/issues/392">#392</a>, fixes <a href="https://redirect.github.com/maxbrunsfeld/counterfeiter/issues/106">#106</a>)</li>
<li>🆕 <code>CallOrder()</code> returns the names of a fake's methods in the order they were called, so you can assert that, for example, <code>Write()</code> was called before <code>Commit()</code>. Order across two fakes still isn't recorded; the gomock guide has a stub recipe for that. (<a href="https://redirect.github.com/maxbrunsfeld/counterfeiter/issues/394">#394</a>, fixes <a href="https://redirect.github.com/maxbrunsfeld/counterfeiter/issues/113">#113</a>)</li>
</ul>
<h2>Fixes</h2>
<ul>
<li>🐛 A method with no return values called its stub field again after unlocking, instead of the copy it took under the lock. Swapping the stub from another goroutine at that moment was a data race, and <code>Calls(nil)</code> could panic the caller. Both templates call the copy now. (<a href="https://redirect.github.com/maxbrunsfeld/counterfeiter/issues/389">#389</a>)</li>
</ul>
<h2>📖 Docs</h2>
<ul>
<li><a href="https://github.com/maxbrunsfeld/counterfeiter/blob/main/docs/migrating-from-gomock.md">docs/migrating-from-gomock.md</a> maps gomock's controller, expectations, matchers, call counts and ordering onto a fake's <code>Returns</code>, <code>Calls</code>, <code>ArgsForCall</code>, <code>CallCount</code>, <code>Args</code> and <code>CallOrder</code>, with the same check shown in testing, testify and gomega.</li>
</ul>
<h2>🧹 Housekeeping</h2>
<ul>
<li>⬆️ gomega 1.43.1 (<a href="https://redirect.github.com/maxbrunsfeld/counterfeiter/issues/391">#391</a>). go-cmp is a direct dependency now because a spec imports it; it was already in go.mod through gomega, and a module that has counterfeiter as a tool sees no change.</li>
<li>⬆️ CodeQL actions</li>
<li>the one table test in the generator package is a spec suite like the rest (<a href="https://redirect.github.com/maxbrunsfeld/counterfeiter/issues/393">#393</a>)</li>
</ul>
<p>Regenerating produces a diff in every fake: the per-method record is the new struct type, and the fake keeps the call order.</p>
<p><strong>Full Changelog</strong>: <a href="https://github.com/maxbrunsfeld/counterfeiter/compare/v6.13.0...v6.14.0">https://github.com/maxbrunsfeld/counterfeiter/compare/v6.13.0...v6.14.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/maxbrunsfeld/counterfeiter/commit/2692aee661117fdfaeb86970428ba7b616e8ea25"><code>2692aee</code></a> Merge pull request <a href="https://redirect.github.com/maxbrunsfeld/counterfeiter/issues/394">#394</a> from maxbrunsfeld/call-order</li>
<li><a href="https://github.com/maxbrunsfeld/counterfeiter/commit/c400251fac1b0ad422b5e9dea072d13f741c9032"><code>c400251</code></a> Merge pull request <a href="https://redirect.github.com/maxbrunsfeld/counterfeiter/issues/393">#393</a> from maxbrunsfeld/spec-style-import-test</li>
<li><a href="https://github.com/maxbrunsfeld/counterfeiter/commit/6f05184bc6670aff486a2f65b5d540e5edca9262"><code>6f05184</code></a> record the order in which a fake's methods were called</li>
<li><a href="https://github.com/maxbrunsfeld/counterfeiter/commit/bc037e811ff47f175cbbc8b5613b78a01d61e209"><code>bc037e8</code></a> write the import spec the way the rest of the generator specs are written</li>
<li><a href="https://github.com/maxbrunsfeld/counterfeiter/commit/3e30fb08d1d32c118222ab4ba7d06992da953722"><code>3e30fb0</code></a> Merge pull request <a href="https://redirect.github.com/maxbrunsfeld/counterfeiter/issues/392">#392</a> from maxbrunsfeld/typed-args</li>
<li><a href="https://github.com/maxbrunsfeld/counterfeiter/commit/91ef39c66c0b9ddf0bc801edfd0f82529a200f06"><code>91ef39c</code></a> expose a method's recorded arguments as a slice of structs</li>
<li><a href="https://github.com/maxbrunsfeld/counterfeiter/commit/b05d734bd3fba23307ad384c4abb89d0f6af2215"><code>b05d734</code></a> ensure multiple coding harnesses can be used</li>
<li><a href="https://github.com/maxbrunsfeld/counterfeiter/commit/6ac3d93508f2025b51f24ecf5144c6034272a005"><code>6ac3d93</code></a> add a guide for moving from gomock</li>
<li><a href="https://github.com/maxbrunsfeld/counterfeiter/commit/fbce8493e0c309d7fdefb840d1b9be2c0c9b4c67"><code>fbce849</code></a> Merge pull request <a href="https://redirect.github.com/maxbrunsfeld/counterfeiter/issues/391">#391</a> from maxbrunsfeld/dependabot/go_modules/github.com/on...</li>
<li><a href="https://github.com/maxbrunsfeld/counterfeiter/commit/a35112cacd3f4373453d7bfe69ba7f559d8fe9b7"><code>a35112c</code></a> Bump github.com/onsi/gomega from 1.43.0 to 1.43.1</li>
<li>Additional commits viewable in <a href="https://github.com/maxbrunsfeld/counterfeiter/compare/v6.13.0...v6.14.0">compare view</a></li>
</ul>
</details>
<br />

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions</details>