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
Fix issues identified by SpaceBeforeSingleLineComment sniff
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
FallbackTest.php
diff --git
a/tests/phpunit/includes/FallbackTest.php
b/tests/phpunit/includes/FallbackTest.php
index
c60170f
..
0a1b7d0
100644
(file)
--- a/
tests/phpunit/includes/FallbackTest.php
+++ b/
tests/phpunit/includes/FallbackTest.php
@@
-13,7
+13,7
@@
class FallbackTest extends MediaWikiTestCase {
$sampleUTF = "Östergötland_coat_of_arms.png";
$sampleUTF = "Östergötland_coat_of_arms.png";
- //mb_substr
+ //
mb_substr
$substr_params = array(
array( 0, 0 ),
array( 5, -4 ),
$substr_params = array(
array( 0, 0 ),
array( 5, -4 ),
@@
-35,21
+35,21
@@
class FallbackTest extends MediaWikiTestCase {
);
}
);
}
- //mb_strlen
+ //
mb_strlen
$this->assertEquals(
mb_strlen( $sampleUTF ),
Fallback::mb_strlen( $sampleUTF ),
'Fallback mb_strlen'
);
$this->assertEquals(
mb_strlen( $sampleUTF ),
Fallback::mb_strlen( $sampleUTF ),
'Fallback mb_strlen'
);
- //mb_str(r?)pos
+ //
mb_str(r?)pos
$strpos_params = array(
$strpos_params = array(
- //array( 'ter' ),
- //array( 'Ö' ),
- //array( 'Ö', 3 ),
- //array( 'oat_', 100 ),
- //array( 'c', -10 ),
- //Broken for now
+ //
array( 'ter' ),
+ //
array( 'Ö' ),
+ //
array( 'Ö', 3 ),
+ //
array( 'oat_', 100 ),
+ //
array( 'c', -10 ),
+ //
Broken for now
);
foreach ( $strpos_params as $param_set ) {
);
foreach ( $strpos_params as $param_set ) {