Update module github.com/maxbrunsfeld/counterfeiter/v6 to v6.14.0 - #350
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
➡️ Go test coverage stayed the same at 80.1% compared to 1c7e842 (6 ignored files)
No change in coverage for any package. View coverage for all packages# Package Name | Coverage
+ code.cloudfoundry.org/k8s-garden-client/pkg/k8sgarden | 80.9%
+ code.cloudfoundry.org/k8s-garden-client/pkg/kubelet | 66.7%
+ code.cloudfoundry.org/k8s-garden-client/pkg/log | 100.0% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v6.13.0→v6.14.0Release Notes
maxbrunsfeld/counterfeiter (github.com/maxbrunsfeld/counterfeiter/v6)
v6.14.0Compare Source
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.
Inspecting calls
<Method>Args()returns every call to a method as a slice of structs, with one exported field per argument:FakeMySpecialInterfaceDoThingsArgs{Arg1: "stuff", Arg2: 5}. You can check a whole call with oneEqualorcmp.Diff, and skip an argument withcmpopts.IgnoreFields. Function fakes get the same thing asArgs().ArgsForCallstill works as before. @dnephin asked for this in 2018. (#392, fixes #106)CallOrder()returns the names of a fake's methods in the order they were called, so you can assert that, for example,Write()was called beforeCommit(). Order across two fakes still isn't recorded; the gomock guide has a stub recipe for that. (#394, fixes #113)Fixes
Calls(nil)could panic the caller. Both templates call the copy now. (#389)📖 Docs
Returns,Calls,ArgsForCall,CallCount,ArgsandCallOrder, with the same check shown in testing, testify and gomega.🧹 Housekeeping
Regenerating produces a diff in every fake: the per-method record is the new struct type, and the fake keeps the call order.
Full Changelog: maxbrunsfeld/counterfeiter@v6.13.0...v6.14.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.