🚦 A minimal & stateless assert package for writing tests. 7 Commits
2023-07-18 14:35:29 +02:00
.editorconfig Added equality checks 2023-07-05 13:14:37 +02:00
.gitignore Added equality checks 2023-07-05 13:14:37 +02:00
Contains_test.go Improved error messages 2023-07-10 11:36:17 +02:00
Contains.go Improved error messages 2023-07-10 11:36:17 +02:00
Equal_test.go Added support for slice comparison 2023-07-18 14:35:29 +02:00
Equal.go Added support for slice comparison 2023-07-18 14:35:29 +02:00
file.go Improved error messages 2023-07-10 11:36:17 +02:00
format.go Improved error messages 2023-07-10 11:36:17 +02:00
go.mod Added equality checks 2023-07-05 13:14:37 +02:00
LICENSE Added equality checks 2023-07-05 13:14:37 +02:00
Nil_test.go Improved error messages 2023-07-10 11:36:17 +02:00
Nil.go Improved error messages 2023-07-10 11:36:17 +02:00
README.md Improved documentation 2023-07-18 11:12:27 +02:00
True_test.go Added basic assert functions 2023-07-05 15:46:19 +02:00
True.go Added basic assert functions 2023-07-05 15:46:19 +02:00

assert

A minimal & stateless assert package for writing tests.

Installation

go get git.akyoto.dev/go/assert

API

assert.Nil(t, nil)
assert.True(t, true)
assert.Equal(t, "Hello", "Hello")
assert.DeepEqual(t, "Hello", "Hello")
assert.Contains(t, "Hello", "ello")