Skip to content

Commit a2038c2

Browse files
committed
for reference only ipv 6 test
1 parent 0502bed commit a2038c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/ValidatorsTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,8 @@ public function testIp(): void
309309
$this->assertTrue(Validators::ip('0.0.0.0'));
310310
$this->assertTrue(Validators::ip('127.0.0.1'));
311311
$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'));
312314
}
313315

314316
public function testEnglish(): void

0 commit comments

Comments
 (0)