aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/MessageTest.php
diff options
context:
space:
mode:
authorBartosz Dziewoński <matma.rex@gmail.com>2017-02-25 22:53:36 +0100
committerBartosz Dziewoński <matma.rex@gmail.com>2017-02-27 19:23:54 +0100
commitecdef925bb0da8cfefbe2a72413a680edf732d31 (patch)
tree227dea08701efd8962e9f005c55f2f2a759863a5 /tests/phpunit/includes/MessageTest.php
parent0da3d2ff2b78ef0cf3385e6e9e626ce1a7f4d3d6 (diff)
downloadmediawikicore-ecdef925bb0da8cfefbe2a72413a680edf732d31.tar.gz
mediawikicore-ecdef925bb0da8cfefbe2a72413a680edf732d31.zip
Miscellaneous indentation tweaks
I was bored. What? Don't look at me that way. I mostly targetted mixed tabs and spaces, but others were not spared. Note that some of the whitespace changes are inside HTML output, extended regexps or SQL snippets. Change-Id: Ie206cc946459f6befcfc2d520e35ad3ea3c0f1e0
Diffstat (limited to 'tests/phpunit/includes/MessageTest.php')
-rw-r--r--tests/phpunit/includes/MessageTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/phpunit/includes/MessageTest.php b/tests/phpunit/includes/MessageTest.php
index 2694b850a005..424218e6e11b 100644
--- a/tests/phpunit/includes/MessageTest.php
+++ b/tests/phpunit/includes/MessageTest.php
@@ -315,14 +315,14 @@ class MessageTest extends MediaWikiLangTestCase {
return [
[ '<span>foo</span>', 'parse', '<span>foo</span>', '<span>foo</span>' ],
[ '<span>foo</span>', 'escaped', '&lt;span&gt;foo&lt;/span&gt;',
- '<span>foo</span>' ],
+ '<span>foo</span>' ],
[ '<span>foo</span>', 'plain', '<span>foo</span>', '<span>foo</span>' ],
[ '<script>alert(1)</script>', 'parse', '&lt;script&gt;alert(1)&lt;/script&gt;',
'&lt;script&gt;alert(1)&lt;/script&gt;' ],
[ '<script>alert(1)</script>', 'escaped', '&lt;script&gt;alert(1)&lt;/script&gt;',
'&lt;script&gt;alert(1)&lt;/script&gt;' ],
[ '<script>alert(1)</script>', 'plain', '<script>alert(1)</script>',
- '&lt;script&gt;alert(1)&lt;/script&gt;' ],
+ '&lt;script&gt;alert(1)&lt;/script&gt;' ],
];
}