We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0502bed commit a2038c2Copy full SHA for a2038c2
1 file changed
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