diff options
author | Vivek Ghaisas <v.a.ghaisas@gmail.com> | 2015-09-11 19:14:59 +0530 |
---|---|---|
committer | Polybuildr <v.a.ghaisas@gmail.com> | 2015-09-26 23:06:52 +0000 |
commit | c54766586acab549f186e81eeab259845112809d (patch) | |
tree | 302447a967baf2159036bfab83993d195a6e2f38 /tests/phpunit/includes/parser/MagicVariableTest.php | |
parent | e3983a08fd371036ad77bbdb9d3739a1a57f2774 (diff) | |
download | mediawikicore-c54766586acab549f186e81eeab259845112809d.tar.gz mediawikicore-c54766586acab549f186e81eeab259845112809d.zip |
Fix issues identified by SpaceBeforeSingleLineComment sniff
Change-Id: I048ccb1fa260e4b7152ca5f09b053defdd72d8f9
Diffstat (limited to 'tests/phpunit/includes/parser/MagicVariableTest.php')
-rw-r--r-- | tests/phpunit/includes/parser/MagicVariableTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/phpunit/includes/parser/MagicVariableTest.php b/tests/phpunit/includes/parser/MagicVariableTest.php index cd54a9e3c088..8997846597a1 100644 --- a/tests/phpunit/includes/parser/MagicVariableTest.php +++ b/tests/phpunit/includes/parser/MagicVariableTest.php @@ -84,7 +84,7 @@ class MagicVariableTest extends MediaWikiTestCase { return self::createProviderUpTo( 31 ); } - ############### TESTS ############################################# + # ############## TESTS ############################################# # @todo FIXME: # - those got copy pasted, we can probably make them cleaner # - tests are lacking useful messages @@ -157,7 +157,7 @@ class MagicVariableTest extends MediaWikiTestCase { $this->assertUnPadded( 'revisionmonth1', $month ); } - ############### HELPERS ############################################ + # ############## HELPERS ############################################ /** assertion helper expecting a magic output which is zero padded */ public function assertZeroPadded( $magic, $value ) { @@ -189,7 +189,7 @@ class MagicVariableTest extends MediaWikiTestCase { ); # please keep the following commented line of code. It helps debugging. - //print "\nDEBUG (value $value):" . sprintf( '2010%02d%02d123456', $value, $value ) . "\n"; + // print "\nDEBUG (value $value):" . sprintf( '2010%02d%02d123456', $value, $value ) . "\n"; # format expectation and test it $expected = sprintf( $format, $value ); |