summaryrefslogtreecommitdiff
path: root/tests/parserTests.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parserTests.php')
-rw-r--r--tests/parserTests.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/parserTests.php b/tests/parserTests.php
index d930ac5a..4df9a618 100644
--- a/tests/parserTests.php
+++ b/tests/parserTests.php
@@ -27,7 +27,7 @@
$otions = array( 'quick', 'color', 'quiet', 'help', 'show-output', 'record', 'run-disabled' );
$optionsWithArgs = array( 'regex', 'filter', 'seed', 'setversion' );
-require_once( dirname( __FILE__ ) . '/../maintenance/commandLine.inc' );
+require_once( __DIR__ . '/../maintenance/commandLine.inc' );
if ( isset( $options['help'] ) ) {
echo <<<ENDS