-
## Description
On pkgsite [`mock.AnythingOfType`](https://pkg.go.dev/github.com/stretchr/testify/mock#AnythingOfType) is marked as deprecated.
`mock.AnythingOfTypeArgument` was marked deprec…
-
I'll openly admit I'm not the most proficient Go user. As such, I make heavy use of tools like golangci-lint to validate my code.
One thing this constantly flags up is when I forget `t.Parallel()` …
-
Minimal test case:
```
package testifyrepro
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestReflect(t *testing.T) {
type s struct {
f map[[1]byte]int
}
v…
-
Intermittently our CircleCI build system is getting an odd error:
verifying github.com/stretchr/objx@v0.5.0/go.mod: checksum mismatch
downloaded: h1:G7mAYYxgmS0lVkHyy2hEOLQCFB0DlQFTMLWggyk…
-
Had this under testImport: section of glide.yaml:
``` yaml
- package: github.com/stretchr/testify
repo: https://github.com/ansel1/testify.git
subpackages:
- assert
- require
```
glide up wou…
-
Use case:
As a developer
I want to add a 'loading' animated gif to the page whenever Stretchr is doing some work
So that I can inform the users of activity, and ask them to wait
Ideally, like …
-
What methods in redismock can replace gomock.Any()?
-
```
(hyperbadger) amiller@winterfell:~/projects/fabric$ make unit-tests
cd unit-test && docker-compose down
WARNING: The TEST_PKGS variable is not set. Defaulting to a blank string.
WARNING: The J…
-
`go test -race ./...` run in the repo root fails with races detected -
https://gist.github.com/dmitris/d816f41bb12bd99d485e917d8728c320
Do you know any background or history on that? Is it expected…
-
Greetings.
When I add reference to a package that is not yet defined in the import block the automatic import mechanism corrupts the import block. Here is a review of what happens when I added a re…