(t *testing.T)
| 36 | } |
| 37 | |
| 38 | func TestParsePlainString(t *testing.T) { |
| 39 | testCases := []validationTestCase{ |
| 40 | {"", true, "", ""}, |
| 41 | {"Hello world", true, "Hello world", ""}, |
| 42 | {"👋 howdy", false, "👋 howdy", "cannot contain emoji characters"}, |
| 43 | } |
| 44 | runValidationTests(t, testCases, ParsePlainString, "ParsePlainString") |
| 45 | } |
| 46 | |
| 47 | func TestParseAccountUrl(t *testing.T) { |
| 48 | testCases := []validationTestCase{ |
nothing calls this directly
no test coverage detected