mirror of
https://github.com/PHPMailer/PHPMailer.git
synced 2024-09-20 01:52:15 +02:00
IsValidHostTest: minor reordering of data provider
... for easier scanning what's covered reading.
This commit is contained in:
parent
9291bf2db8
commit
79d7cc0757
@ -79,9 +79,9 @@ final class IsValidHostTest extends TestCase
|
||||
'Invalid type: array' => [[]],
|
||||
'Invalid input: empty string' => [''],
|
||||
'Invalid input: IPv4 address outside range' => ['999.0.0.0'],
|
||||
'Invalid input: hex address, wrong size' => [trim(str_repeat('a0123456789.', 22), '.')],
|
||||
'Invalid input: bracketed, not IPv6 (num)' => ['[1234]'],
|
||||
'Invalid input: bracketed, triple :' => ['[1234:::1]'],
|
||||
'Invalid input: hex address, wrong size' => [trim(str_repeat('a0123456789.', 22), '.')],
|
||||
'Invalid input: IPv6 without brackets' => ['0:1234:dc0:41:216:3eff:fe67:3e01'],
|
||||
'Invalid input: IPv6 non-hex char' => ['[012q:1234:dc0:41:216:3eff:fe67:3e01]'],
|
||||
'Invalid input: IPv6 double bracketed' => ['[[::1]]'],
|
||||
|
Loading…
Reference in New Issue
Block a user