We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 93f1e5c + a2038c2 commit 3c427f7Copy full SHA for 3c427f7
test/ValidatorsTest.php
@@ -309,6 +309,8 @@ public function testIp(): void
309
$this->assertTrue(Validators::ip('0.0.0.0'));
310
$this->assertTrue(Validators::ip('127.0.0.1'));
311
$this->assertTrue(Validators::ipv4('127.0.0.1'));
312
+ $this->assertTrue(Validators::ipv6('2400:3200::1'));
313
+ $this->assertTrue(Validators::ipv6('0:0:0:0:0:0:0:0'));
314
}
315
316
public function testEnglish(): void
0 commit comments