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
Add test case for recent changes flags in OldChangesList
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
ArrayUtilsTest.php
diff --git
a/tests/phpunit/includes/ArrayUtilsTest.php
b/tests/phpunit/includes/ArrayUtilsTest.php
index
3e5ebb7
..
7bdb1ca
100644
(file)
--- a/
tests/phpunit/includes/ArrayUtilsTest.php
+++ b/
tests/phpunit/includes/ArrayUtilsTest.php
@@
-24,14
+24,14
@@
class ArrayUtilsTest extends MediaWikiTestCase {
function provideFindLowerBound() {
$self = $this;
function provideFindLowerBound() {
$self = $this;
- $indexValueCallback = function( $size ) use ( $self ) {
- return function( $val ) use ( $self, $size ) {
+ $indexValueCallback = function
( $size ) use ( $self ) {
+ return function
( $val ) use ( $self, $size ) {
$self->assertTrue( $val >= 0 );
$self->assertTrue( $val < $size );
return $val;
};
};
$self->assertTrue( $val >= 0 );
$self->assertTrue( $val < $size );
return $val;
};
};
- $comparisonCallback = function( $a, $b ) {
+ $comparisonCallback = function
( $a, $b ) {
return $a - $b;
};
return $a - $b;
};