Explorar o código

[ZF-6616] Zend_Locale:

- added testcase, issue not reproducable

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@15547 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas %!s(int64=17) %!d(string=hai) anos
pai
achega
e0cdc36ddb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      tests/Zend/Locale/FormatTest.php

+ 1 - 0
tests/Zend/Locale/FormatTest.php

@@ -122,6 +122,7 @@ class Zend_Locale_FormatTest extends PHPUnit_Framework_TestCase
     {
         $this->assertTrue( Zend_Locale_Format::isNumber('-1.234.567,12345',  array('locale' => 'de_AT')));
         $this->assertFalse(Zend_Locale_Format::isNumber('textwithoutnumber', array('locale' => 'de_AT')));
+        $this->assertFalse(Zend_Locale_Format::isNumber('', array('locale' => 'de_AT')));
     }
 
     /**