-
**What would you like to be added/modified**:
Use github.com/stretchr/testify/require and github.com/stretchr/testify/assert packages in all unit tests.
Demo PR: #4402
**Why is this needed**:
…
-
Hi! First of all… sorry if I say strange stuff, but I know nothing about Go language; I'm just trying to build it for testing of [zfs_exporter](https://github.com/lorenz/zfs_exporter).
```bash
% c…
-
When a panic occurs I'm seeing the following error:
```suite.go:61: test panicked: runtime error: invalid memory address or nil pointer dereference```
suite.go does not exist anywhere in my proj…
-
### Description of the bug:
Running individual tests implemented as receiver methods of a struct through Run configurations auto-generated by the Bazel for IntelliJ plugin don't recognize the method…
-
1. import package by passing full address, two times, is tiresome.
e.g.
```
f.Import("github.com/stretchr/testify/mock")
f.Code(func(e *handwriting.Emitter) error {
mockpkg := e.Prog.Pack…
-
Saw this failure on my PR branch. https://github.com/tonistiigi/buildkit/runs/1119868274 @TBBle
```
2020-09-15T20:44:37.1037618Z --- FAIL: TestCacheMountLockedRefs (1.78s)
2020-09-15T20:44:37.10…
-
Current behaviour:
With go 1.14.2 darwin/amd64 and testify 1.6.0 if I assert.Equal two ints, it causes testify to panic:
`
panic: interface conversion: interface {} is int, not string [recovere…
-
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.
## Pending Approval
These branc…
-
```
package openapi3
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestIssueXXX(t *testing.T) {
spec := `
openapi: 3.0.0
components:
schemas:
NullableString…
-
Hi, I tried to install testify using `go get github.com/stretchr/testify` inside a library which uses `go mod`. This works fine, testify is added to the `go.mod` and `go.sum` files.
But, an entry con…