Commit 128a6934 authored by Dries's avatar Dries
Browse files

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

parent b801d14a
......@@ -1268,7 +1268,7 @@ protected function tearDown() {
$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'));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment