Test_Domain_Security_EmptyParamName tests that empty parameter names are rejected
(t *testing.T)
| 1578 | |
| 1579 | // Test_Domain_Security_EmptyParamName tests that empty parameter names are rejected |
| 1580 | func Test_Domain_Security_EmptyParamName(t *testing.T) { |
| 1581 | t.Parallel() |
| 1582 | |
| 1583 | require.Panics(t, func() { |
| 1584 | parseDomainPattern(":.example.com") |
| 1585 | }) |
| 1586 | } |
| 1587 | |
| 1588 | // Test_Domain_Security_InvalidParamName tests that invalid parameter names are rejected |
| 1589 | func Test_Domain_Security_InvalidParamName(t *testing.T) { |
nothing calls this directly
no test coverage detected