diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-02-28 20:36:37 -0500 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-02-28 20:36:37 -0500 |
commit | 768208f8ddb2d03bc1e6d484ecac6e78c5fa75a8 (patch) | |
tree | f7f428f07922e354fe47f169605e67d581c5f1ed /modules/statistics | |
parent | 540ee5f4400e33bb202835b61bdefc7f7a280d82 (diff) | |
download | brdo-768208f8ddb2d03bc1e6d484ecac6e78c5fa75a8.tar.gz brdo-768208f8ddb2d03bc1e6d484ecac6e78c5fa75a8.tar.bz2 |
- Patch #1076394 by pillarsdotnet: improved test code.
Diffstat (limited to 'modules/statistics')
-rw-r--r-- | modules/statistics/statistics.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/statistics/statistics.test b/modules/statistics/statistics.test index 026fcf58b..126828f4a 100644 --- a/modules/statistics/statistics.test +++ b/modules/statistics/statistics.test @@ -438,7 +438,7 @@ class StatisticsTokenReplaceTestCase extends StatisticsTestCase { foreach ($tests as $input => $expected) { $output = token_replace($input, array('node' => $node), array('language' => $language)); - $this->assertFalse(strcmp($output, $expected), t('Statistics token %token replaced.', array('%token' => $input))); + $this->assertEqual($output, $expected, t('Statistics token %token replaced.', array('%token' => $input))); } } } |