Skip to content

Commit

Permalink
Fix PHP IPv6 reserved handling changes
Browse files Browse the repository at this point in the history
  • Loading branch information
murrant committed Jan 19, 2025
1 parent b246b83 commit a4366ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/IpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function testIsValid(): void
*/
public function testIsValidIPv6ExcludeReserved(): void
{
$this->assertFalse(IPv6::isValid('2001:db8:85a3::8a2e:370:7334', true));
$this->assertFalse(IPv6::isValid('::1', true));
}

public function testIpParse(): void
Expand Down

0 comments on commit a4366ab

Please sign in to comment.