Bracken

Results 26 issues of Bracken

## Summary The attempt to fix a legitimate go vet finding (https://github.com/stretchr/testify/commit/b5ce16571001d6e96e1693ac891fed5c2510c651) breaks the referenced deprecated use case in v1.8.0. This vet finding can't be fixed until v2. The mutex...

## Summary Passing an actual value of type nil via a Mock into the argument matcher for AnythingOfType in a Mock causes a panic. ## Changes * Handle nil types...

pkg-mock
mock.ArgumentMatcher

Reported by @cfiderer: https://github.com/stretchr/testify/issues/1155#issuecomment-1126159634 Raising a new issue because I think the fix to 1155 will not fix this. This deadlocks in testify v1.7.4: ```go package kata import ( "testing"...

Having more arguments in a mock expectation than the interface has does not fail if those expectations match the string `(Missing)`. This is only really confusing if the matcher is...

Like #965, I bumped into a need to safely access (mock.Mock).Calls today, but I wanted the calls rather than the length. I think either a method to **copy** the `Calls`...

This reverts commit 06a098c632aee74619a06f88c23a06140f442a6f (pull request: https://github.com/distribution/distribution/pull/864) This changes the function of linkedBlobStatter.Clear(). It was either removing the first of two possible manifest links or returning nil if none were...

impact/changelog

### Welcome - [X] Yes, I'm using a binary release within 2 latest major releases. Only such installations are supported. - [X] Yes, I've searched similar issues on GitHub and...

platform: macos

Since the go directive in a module's go.mod file is a statement of the minimum Go version required to compile the packages in the module, it would be prudent to...

This fixes #1527 and constitutes a breaking change to the exported metrics. The old default set of handler metrics from 0.9 are replaced with those from the documented exameple in...