20 lines
296 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.
2023-07-18 09:12:27 +00:00
## Installation
```shell
go get git.akyoto.dev/go/assert
```
2023-07-05 11:14:37 +00:00
## 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")
```