14 lines
233 B
Markdown
Raw Normal View History

2023-07-05 10:05:54 +00:00
# assert
2023-07-05 11:14:37 +00:00
A minimal & stateless assert package for writing tests.
## API
```go
assert.Nil(t, nil)
assert.True(t, true)
assert.Equal(t, "Hello", "Hello")
assert.DeepEqual(t, "Hello", "Hello")
assert.Contains(t, "Hello", "ello")
```