Skip to content
This repository has been archived by the owner on May 16, 2018. It is now read-only.

Commit

Permalink
Testcase for #322
Browse files Browse the repository at this point in the history
  • Loading branch information
mhujer committed Nov 28, 2014
1 parent 02072de commit 5dfb778
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/Zend/Validate/HostnameTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -508,4 +508,13 @@ public function testIDNRS()

$this->assertTrue($validator->isValid('test.rs'));
}

/**
* @group GH-322
*/
public function testCom()
{
$validator = new Zend_Validate_Hostname();
$this->assertTrue($validator->isValid('example.com'));
}
}

0 comments on commit 5dfb778

Please sign in to comment.