Merge "rdbms: avoid LoadBalancer::getConnection waste when using $groups"
[lhc/web/wiklou.git] / tests / phpunit / includes / GlobalFunctions / wfEscapeShellArgTest.php
index 010f617..7402054 100644 (file)
@@ -36,7 +36,7 @@ class WfEscapeShellArgTest extends MediaWikiTestCase {
                        $expected = "'foo' 'bar' 'baz'";
                }
 
-               $actual = wfEscapeShellArg( array( 'foo', 'bar', 'baz' ) );
+               $actual = wfEscapeShellArg( [ 'foo', 'bar', 'baz' ] );
 
                $this->assertEquals( $expected, $actual );
        }