summaryrefslogtreecommitdiff
path: root/modules/comment/comment.test
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-12-09 02:16:21 +0000
committerDries Buytaert <dries@buytaert.net>2010-12-09 02:16:21 +0000
commite2153365cf0a8cfa8aed4424d5b42875a3c575ce (patch)
tree641c47e68c4ea05a526433c2d1547466887c6d10 /modules/comment/comment.test
parent7361b458f1ede23407435fbb58bfd40389c5c70b (diff)
downloadbrdo-e2153365cf0a8cfa8aed4424d5b42875a3c575ce.tar.gz
brdo-e2153365cf0a8cfa8aed4424d5b42875a3c575ce.tar.bz2
- Patch #991726 by wojtha, meba: missing format_plural() in comments and node module.
Diffstat (limited to 'modules/comment/comment.test')
-rw-r--r--modules/comment/comment.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.test b/modules/comment/comment.test
index b712d2c64..45d6631bd 100644
--- a/modules/comment/comment.test
+++ b/modules/comment/comment.test
@@ -226,7 +226,7 @@ class CommentHelperCase extends DrupalWebTestCase {
if ($operation == 'delete') {
$this->drupalPost(NULL, array(), t('Delete comments'));
- $this->assertRaw(t('Deleted @count comments.', array('@count' => 1)), t('Operation "' . $operation . '" was performed on comment.'));
+ $this->assertRaw(format_plural(1, 'Deleted 1 comment.', 'Deleted @count comments.'), t('Operation "' . $operation . '" was performed on comment.'));
}
else {
$this->assertText(t('The update has been performed.'), t('Operation "' . $operation . '" was performed on comment.'));