From 5dfb778b558313f9e4c85e64c2e22a4f2fbc6299 Mon Sep 17 00:00:00 2001 From: Martin Hujer Date: Sat, 29 Nov 2014 00:04:36 +0100 Subject: [PATCH] Testcase for #322 --- tests/Zend/Validate/HostnameTest.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/Zend/Validate/HostnameTest.php b/tests/Zend/Validate/HostnameTest.php index e8c377e7fa..7f43cef1f6 100644 --- a/tests/Zend/Validate/HostnameTest.php +++ b/tests/Zend/Validate/HostnameTest.php @@ -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')); + } }