assert/True.go
Eduard Urbach b3b33f85f5
All checks were successful
/ test (push) Successful in 14s
Updated formatting
2025-06-06 16:49:43 +02:00

11 lines
No EOL
218 B
Go

package assert
// True asserts that the given parameter is true.
func True(t test, a bool) {
Equal(t, a, true)
}
// False asserts that the given parameter is false.
func False(t test, a bool) {
Equal(t, a, false)
}