Improved code quality

This commit is contained in:
Eduard Urbach 2023-08-31 17:03:52 +02:00
parent 3ff7ac9a08
commit acec282709
Signed by: eduard
GPG key ID: 49226B848C78F6C8
16 changed files with 128 additions and 69 deletions

View file

@ -1,13 +1,11 @@
package assert
import "testing"
// True asserts that the given parameter is true.
func True(t testing.TB, a bool) {
func True(t test, a bool) {
Equal(t, a, true)
}
// False asserts that the given parameter is false.
func False(t testing.TB, a bool) {
func False(t test, a bool) {
Equal(t, a, false)
}