? modules/simpletest/tests/343502.test
? modules/simpletest/tests/343502.test.txt
Index: modules/simpletest/tests/unicode.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/simpletest/tests/unicode.test,v
retrieving revision 1.1
diff -u -p -r1.1 unicode.test
--- modules/simpletest/tests/unicode.test	31 Dec 2008 11:01:49 -0000	1.1
+++ modules/simpletest/tests/unicode.test	2 Jan 2009 17:37:13 -0000
@@ -126,26 +126,15 @@ class UnicodeUnitTest extends DrupalWebT
 
   function helperTestSubStr() {
     $testcase = array(
-      //     012345678901234567890123
-      array('frànçAIS is über-åwesome', 0, 1,
-            'f'),
-      array('frànçAIS is über-åwesome', 0, 8,
-            'frànçAIS'),
-      array('frànçAIS is über-åwesome', 0, 100,
-            'frànçAIS is über-åwesome'),
-      array('frànçAIS is über-åwesome', 4, 4,
-                'çAIS'),
-      array('frànçAIS is über-åwesome', 1, 0,
-            ''),
-      array('frànçAIS is über-åwesome', 100, 0,
-            ''),
-      array('frànçAIS is über-åwesome', -4, 2,
-                                'so'),
-      array('frànçAIS is über-åwesome', -7, 10,
-                             'åwesome'),
-      array('frànçAIS is über-åwesome', 5, -10,
-                 'AIS is üb'),
-
+      array('frànçAIS is über-åwesome', 0, 1, 'f'),
+      array('frànçAIS is über-åwesome', 0, 8, 'frànçAIS'),
+      array('frànçAIS is über-åwesome', 0, 100, 'frànçAIS is über-åwesome'),
+      array('frànçAIS is über-åwesome', 4, 4, 'çAIS'),
+      array('frànçAIS is über-åwesome', 1, 0, ''),
+      array('frànçAIS is über-åwesome', 100, 0, ''),
+      array('frànçAIS is über-åwesome', -4, 2, 'so'),
+      array('frànçAIS is über-åwesome', -7, 10, 'åwesome'),
+      array('frànçAIS is über-åwesome', 5, -10, 'AIS is üb'),
     );
 
     foreach ($testcase as $test) {
@@ -179,6 +168,7 @@ class UnicodeUnitTest extends DrupalWebT
       '➼' => '➼',
       '&#10172;' => '➼',
     );
+
     foreach ($testcase as $input => $output) {
       $this->assertEqual(decode_entities($input), $output, t('Make sure the decoded entity of @input is @output', array('@input' => $input, '@output' => $output)));
     }
@@ -207,6 +197,7 @@ class UnicodeUnitTest extends DrupalWebT
       '&#10172;' => '➼',
     );
     $exclude = array('<', '&', '"');
+
     foreach ($testcase as $input => $output) {
       $this->assertIdentical(decode_entities($input, $exclude), $output, t('Make sure the decoded entity of %input, excluding %excludes, is %output', array('%input' => $input, '%excludes' => implode(',', $exclude), '%output' => $output)));
     }
