]> granicus.if.org Git - php/commitdiff
Updated the test case
authorMoriyoshi Koizumi <moriyoshi@php.net>
Wed, 23 Oct 2002 20:38:18 +0000 (20:38 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Wed, 23 Oct 2002 20:38:18 +0000 (20:38 +0000)
ext/mbstring/tests/casefold.phpt

index 21b4d01f21a396276d9ee7a6018cfd79fa951435..821b957af9e30db4817ace67a63f47ad57aa2b61 100644 (file)
@@ -2,7 +2,8 @@
 mb_strtoupper() / mb_strtolower() 
 --SKIPIF--
 <?php include('skipif.inc'); ?>
-function_exists('mb_strtolower') or die("SKIP");
+function_exists('mb_strtolower') and
+function_exists('mb_convert_case' ) or die("SKIP");
 --POST--
 --GET--
 --FILE--
@@ -11,10 +12,11 @@ function_exists('mb_strtolower') or die("SKIP");
        print mb_strtolower( "ABCDEFGHIJKLMNOPQRSTUVWXYZ\n" );
        print mb_strtoupper( mb_strtolower( "ABCDEFGHIJKLMNOPQRSTUVWXYZ\n" ) );
        print mb_strtoupper( "äëï\n" );
+       print mb_convert_case( "äëï\n", MB_CASE_TITLE );
 ?>
 
 --EXPECT--
 abcdefghijklmnopqrstuvwxyz
 ABCDEFGHIJKLMNOPQRSTUVWXYZ
 ÄËÏ
-
+Äëï