Example #1
0
// TestError_Error
func TestError_Error(t *testing.T) {
	m := maybe.Err(errors.New(ERROR_MSG))
	assertError(t, m, ERROR_MSG)
}
Example #2
0
// TestError_Nil
func TestError_Nil(t *testing.T) {
	m := maybe.Err(nil)
	assertNothing(t, m)
}