Skip to content

Commit

Permalink
for reference only ipv 6 test
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhangChengLin committed Sep 9, 2021
1 parent 0502bed commit a2038c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/ValidatorsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,8 @@ public function testIp(): void
$this->assertTrue(Validators::ip('0.0.0.0'));
$this->assertTrue(Validators::ip('127.0.0.1'));
$this->assertTrue(Validators::ipv4('127.0.0.1'));
$this->assertTrue(Validators::ipv6('2400:3200::1'));
$this->assertTrue(Validators::ipv6('0:0:0:0:0:0:0:0'));
}

public function testEnglish(): void
Expand Down

0 comments on commit a2038c2

Please sign in to comment.