(t *testing.T)
| 25 | } |
| 26 | |
| 27 | func TestParseInput(t *testing.T) { |
| 28 | testCases := []validationTestCase{ |
| 29 | {"", true, "", ""}, |
| 30 | {"_No response_", true, "", ""}, |
| 31 | {"None", true, "", ""}, |
| 32 | {"hello", true, "hello", ""}, |
| 33 | {"Testing <b>formatting</b> and <a href=\"#\">link</a> stripping", true, "Testing formatting and link stripping", ""}, |
| 34 | } |
| 35 | runValidationTests(t, testCases, ParseInput, "ParseInput") |
| 36 | } |
| 37 | |
| 38 | func TestParsePlainString(t *testing.T) { |
| 39 | testCases := []validationTestCase{ |
nothing calls this directly
no test coverage detected