diff options
author | wei <> | 2007-01-25 05:49:22 +0000 |
---|---|---|
committer | wei <> | 2007-01-25 05:49:22 +0000 |
commit | 682f7ef6933f4ad485baedddf7a30367d003d7bf (patch) | |
tree | f0eb02ab8373f481b212b5406bfdb95e48b03b10 /tests/simple_unit | |
parent | 9b4174135679398eaed518db99f3c72545aa3876 (diff) |
Fixed #502
Diffstat (limited to 'tests/simple_unit')
-rw-r--r-- | tests/simple_unit/I18N/CultureInfoTest.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/simple_unit/I18N/CultureInfoTest.php b/tests/simple_unit/I18N/CultureInfoTest.php new file mode 100644 index 00000000..840d8f17 --- /dev/null +++ b/tests/simple_unit/I18N/CultureInfoTest.php @@ -0,0 +1,13 @@ +<?php
+
+Prado::using('System.I18N.core.*');
+class CultureInfoTest extends UnitTestCase
+{
+ function test_missing_english_names_returns_culture_code()
+ {
+ $culture = new CultureInfo('iw');
+ $this->assertEqual($culture->getEnglishName(), 'iw');
+ }
+}
+
+?>
\ No newline at end of file |