- Patch #812620 by kiamlaluno: fixed incorrect format_plural().

merge-requests/26/head
Dries Buytaert 2010-05-29 13:51:27 +00:00
parent b801d14ad1
commit 128a693466
1 changed files with 1 additions and 1 deletions

View File

@ -1268,7 +1268,7 @@ class DrupalWebTestCase extends DrupalTestCase {
$emailCount = count(variable_get('drupal_test_email_collector', array()));
if ($emailCount) {
$message = format_plural($emailCount, t('!count e-mail was sent during this test.'), t('!count e-mails were sent during this test.'), array('!count' => $emailCount));
$message = format_plural($emailCount, '1 e-mail was sent during this test.', '@count e-mails were sent during this test.');
$this->pass($message, t('E-mail'));
}