🚦 A minimal & stateless assert package for writing tests. 4 Commits
2023-07-05 15:46:19 +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 Added basic assert functions 2023-07-05 15:46:19 +02:00
Contains.go Added basic assert functions 2023-07-05 15:46:19 +02:00
Equal_test.go Fixed incorrect logging 2023-07-05 13:37:11 +02:00
Equal.go Fixed incorrect logging 2023-07-05 13:37:11 +02:00
file.go Added equality checks 2023-07-05 13:14:37 +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 Added basic assert functions 2023-07-05 15:46:19 +02:00
Nil.go Added basic assert functions 2023-07-05 15:46:19 +02:00
README.md Added equality checks 2023-07-05 13:14:37 +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.

API

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