Skip to content

Commit

Permalink
更新:测试文件调整
Browse files Browse the repository at this point in the history
  • Loading branch information
zhichao-poper committed Jan 17, 2017
1 parent eb53fd0 commit 8cbe401
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/TestIp.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
class TestIp extends PHPUnit_Framework_TestCase {
public function testIpLocation() {
$this->assertEquals(['中国', '河南', '郑州', '', '410100'], Ip::find('171.12.10.156'));
$this->assertEquals(['中国', '山东', '', '', '370000'], Ip::find('110.223.0.43'));
$this->assertEquals(['本机地址', '本机地址', '', '', ''], Ip::find('127.0.0.1'));
$this->assertEquals(['中国', '浙江', '杭州', '', '330100'], Ip::find('110.75.115.70'));
}
Expand Down

0 comments on commit 8cbe401

Please sign in to comment.