dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
objectcache: Fix HashBagOStuffTest test in PHP 7.1
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
libs
/
objectcache
/
HashBagOStuffTest.php
diff --git
a/tests/phpunit/includes/libs/objectcache/HashBagOStuffTest.php
b/tests/phpunit/includes/libs/objectcache/HashBagOStuffTest.php
index
b2278c3
..
53d27c0
100644
(file)
--- a/
tests/phpunit/includes/libs/objectcache/HashBagOStuffTest.php
+++ b/
tests/phpunit/includes/libs/objectcache/HashBagOStuffTest.php
@@
-103,7
+103,7
@@
class HashBagOStuffTest extends PHPUnit_Framework_TestCase {
for ( $i = 10; $i < 20; $i++ ) {
$cache->set( "key$i", 1 );
$this->assertEquals( 1, $cache->get( "key$i" ) );
- $this->assertEquals( false, $cache->get( "key" .
$i - 10
) );
+ $this->assertEquals( false, $cache->get( "key" .
( $i - 10 )
) );
}
}