🚦 A minimal & stateless assert package for writing tests.
5 Commits
.editorconfig | ||
.gitignore | ||
Contains_test.go | ||
Contains.go | ||
Equal_test.go | ||
Equal.go | ||
file.go | ||
format.go | ||
go.mod | ||
LICENSE | ||
Nil_test.go | ||
Nil.go | ||
README.md | ||
True_test.go | ||
True.go |
assert
A minimal & stateless assert package for writing tests.
API
assert.Nil(t, nil)
assert.True(t, true)
assert.Equal(t, "Hello", "Hello")
assert.DeepEqual(t, "Hello", "Hello")
assert.Contains(t, "Hello", "ello")