summaryrefslogtreecommitdiff
path: root/tests/units
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units')
-rw-r--r--tests/units/LocaleTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/LocaleTest.php b/tests/units/LocaleTest.php
index 5e15a4eb..e00b8c83 100644
--- a/tests/units/LocaleTest.php
+++ b/tests/units/LocaleTest.php
@@ -22,8 +22,8 @@ class LocaleTest extends Base
foreach(array('%s', '%d') as $placeholder) {
$this->assertEquals(
- substr_count($k, '%s'),
- substr_count($v, '%s'),
+ substr_count($k, $placeholder),
+ substr_count($v, $placeholder),
'Incorrect number of ' . $placeholder . ' in ' . basename($file) .' translation of: ' . $k
);
}