- golang-github-alecthomas-repr-dev (>= 0.4.0)
- golang-github-hexops-gotextdiff-dev (>= 1.0.3)
This library is inspired by testify/require, but with a significantly
reduced API surface based on empirical use of that package.
.
It also provides much nicer diff output, e.g.
.
=== RUN TestFail
assert_test.go:14: Expected values to be equal:
assert.Data{
- Str: "foo",
+ Str: "far",
Num: 10,
}
--- FAIL: TestFail (0.00s)
Installed Size: 34.8 kB
Architectures: all