20 lines
296 B
Markdown
20 lines
296 B
Markdown
# assert
|
|
|
|
A minimal & stateless assert package for writing tests.
|
|
|
|
## Installation
|
|
|
|
```shell
|
|
go get git.akyoto.dev/go/assert
|
|
```
|
|
|
|
## 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")
|
|
```
|