? modules/simpletest/tests/file_dummy_stream_wrapper.inc
Index: modules/simpletest/drupal_web_test_case.php
===================================================================
RCS file: /cvs/drupal/drupal/modules/simpletest/drupal_web_test_case.php,v
retrieving revision 1.52
diff -u -9 -p -r1.52 drupal_web_test_case.php
--- modules/simpletest/drupal_web_test_case.php	20 Oct 2008 13:06:15 -0000	1.52
+++ modules/simpletest/drupal_web_test_case.php	28 Oct 2008 17:53:26 -0000
@@ -1498,19 +1498,19 @@ class DrupalWebTestCase {
             }
             else {
               // No item selected so use first item.
               $items = $this->getAllOptions($field);
               if (!empty($items) && $items[0]['value'] == $value) {
                 $found = TRUE;
               }
             }
           }
-          elseif (isset($field[0]) && $field[0] == $value) {
+          elseif ($field == $value) {
             // Text area with correct text.
             $found = TRUE;
           }
         }
       }
     }
     return $this->assertTrue($fields && $found, $message, $group);
   }
 
