Index: modules/poll/poll.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/poll/poll.test,v
retrieving revision 1.4
diff -u -p -r1.4 poll.test
--- modules/poll/poll.test	26 May 2008 17:12:55 -0000	1.4
+++ modules/poll/poll.test	5 Aug 2008 08:29:07 -0000
@@ -34,9 +34,7 @@ class PollTestCase extends DrupalWebTest
     if ($test_preview) {
       $this->drupalPost(NULL, $edit, t('Preview'));
       foreach($choices as $k => $choice_text) {
-        $this->assertRaw($choice_text, "Choice $k found in preview");
-        $themed_bar = theme('poll_bar', $choice_text, 0, 0, FALSE, FALSE);
-        $this->assertRaw($themed_bar, "Choice $k bar is themed");
+        $this->assertRaw($choice_text, t('Choice @choice found was in preview.', array('@choice' => $k)));
       }
       list($edit, $index) = $this->_pollGenerateEdit($title, $choices, $index);
     }
