summaryrefslogtreecommitdiff
path: root/tests/parser
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parser')
-rw-r--r--tests/parser/parserTest.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/parser/parserTest.inc b/tests/parser/parserTest.inc
index 4b4c7f72..0ce7c997 100644
--- a/tests/parser/parserTest.inc
+++ b/tests/parser/parserTest.inc
@@ -78,7 +78,7 @@ class ParserTest {
*/
public function __construct( $options = array() ) {
# Only colorize output if stdout is a terminal.
- $this->color = !wfIsWindows() && posix_isatty( 1 );
+ $this->color = !wfIsWindows() && Maintenance::posix_isatty( 1 );
if ( isset( $options['color'] ) ) {
switch( $options['color'] ) {