(t *testing.T)
| 114 | } |
| 115 | |
| 116 | func TestIsPresent(t *testing.T) { |
| 117 | testCases := []validationTestCase{ |
| 118 | {"", false, "", "is empty"}, |
| 119 | {"foo", true, "foo", ""}, |
| 120 | } |
| 121 | runValidationTests(t, testCases, IsPresent, "IsPresent") |
| 122 | } |
| 123 | |
| 124 | func TestIsEmail(t *testing.T) { |
| 125 | testCases := []validationTestCase{ |
nothing calls this directly
no test coverage detected