aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/StringUtilsTest.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2013-03-26 00:27:14 +0100
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>2013-03-27 14:15:11 +0100
commit6da93fc6f696383585a3f1c4e69ba7994c01a0e5 (patch)
tree12fea40e2263925c8464503ef3307415442474db /tests/phpunit/includes/StringUtilsTest.php
parent80f4ee1720706211032526644c41a5b5d36d0bfa (diff)
downloadmediawikicore-6da93fc6f696383585a3f1c4e69ba7994c01a0e5.tar.gz
mediawikicore-6da93fc6f696383585a3f1c4e69ba7994c01a0e5.zip
Update code formatting
Also update some previous inconsistencies pointed out by Krinkle in change IDs: * Ide20743a2e84ff68549286120e6cff9d9f396f54 * I811ca957b6588085d67606ebc0cd4033a1e53839 Change-Id: Ife33b931870d0d7e04fcb40974997436d27f528f
Diffstat (limited to 'tests/phpunit/includes/StringUtilsTest.php')
-rw-r--r--tests/phpunit/includes/StringUtilsTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/phpunit/includes/StringUtilsTest.php b/tests/phpunit/includes/StringUtilsTest.php
index a54a57e50957..0530b4490cee 100644
--- a/tests/phpunit/includes/StringUtilsTest.php
+++ b/tests/phpunit/includes/StringUtilsTest.php
@@ -29,7 +29,7 @@ class StringUtilsTest extends MediaWikiTestCase {
*/
function testIsUtf8WithPhpFallbackImplementation( $expected, $string ) {
$this->assertEquals( $expected,
- StringUtils::isUtf8( $string, /** disable mbstring: */ true ),
+ StringUtils::isUtf8( $string, /** disable mbstring: */true ),
'Testing string "' . $this->escaped( $string ) . '" with pure PHP implementation'
);
}
@@ -116,7 +116,7 @@ class StringUtilsTest extends MediaWikiTestCase {
array( $FAIL, "\xff" ),
array( $FAIL, "\xfe\xfe\xff\xff" ),
- /**
+ /*
# The PHP implementation does not handle characters
# being represented in a form which is too long :(
@@ -133,7 +133,7 @@ class StringUtilsTest extends MediaWikiTestCase {
array( $FAIL, "\xf0\x8F\xbf\xbf" ),
array( $FAIL, "\xf8\x87\xbf\xbf" ),
array( $FAIL, "\xfc\x83\xbf\xbf\xbf\xbf" ),
- **/
+ */
# non characters
array( $PASS, "\xef\xbf\xbe" ),