r110559 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110558‎ | r110559 | r110560 >
Date:11:14, 2 February 2012
Author:nikerabbit
Status:ok
Tags:
Comment:
Whitespace cleanup
Modified paths:
  • /trunk/phase3/tests/phpunit/languages/LanguageSrTest.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/phpunit/languages/LanguageSrTest.php
@@ -12,7 +12,7 @@
1313 * @file
1414 */
1515
16 -require_once dirname(dirname(__FILE__)). '/bootstrap.php';
 16+require_once dirname( dirname( __FILE__ ) ) . '/bootstrap.php';
1717
1818 /** Tests for MediaWiki languages/LanguageTr.php */
1919 class LanguageSrTest extends MediaWikiTestCase {
@@ -20,7 +20,7 @@
2121 private $lang;
2222
2323 function setUp() {
24 - $this->lang = Language::factory( 'Sr' );
 24+ $this->lang = Language::factory( 'sr' );
2525 }
2626 function tearDown() {
2727 unset( $this->lang );
@@ -62,7 +62,7 @@
6363 }
6464
6565 /**
66 - * @author Nikola Smolenski
 66+ * @author Nikola Smolenski
6767 */
6868 function testConversionToCyrillic() {
6969 $this->assertEquals( 'абвг',
@@ -77,7 +77,7 @@
7878 $this->assertEquals( 'абвгшђжчћ',
7979 $this->convertToCyrillic( 'абвгšđžčć' )
8080 );
81 - //Roman numerals are not converted
 81+ // Roman numerals are not converted
8282 $this->assertEquals( 'а I б II в III г IV шђжчћ',
8383 $this->convertToCyrillic( 'a I b II v III g IV šđžčć' )
8484 );
@@ -121,7 +121,7 @@
122122 }
123123 /** @dataProvider providePluralTwoForms */
124124 function testPluralTwoForms( $result, $value ) {
125 - $forms = array( 'one', 'several' );
 125+ $forms = array( 'one', 'several' );
126126 $this->assertEquals( $result, $this->lang->convertPlural( $value, $forms ) );
127127 }
128128 function providePluralTwoForms() {

Status & tagging log