From 1c16ab1b9ef3291e2ac2d573320a0dfa1a323885 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Wed, 8 Jul 2009 19:26:15 +0000 Subject: [PATCH] Make this error more understandable to someone who runs this script expecting that it has a working getopt implementation --- maintenance/parserTests.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/parserTests.inc b/maintenance/parserTests.inc index dfd0e4cdec..214e7fed28 100644 --- a/maintenance/parserTests.inc +++ b/maintenance/parserTests.inc @@ -281,7 +281,7 @@ class ParserTest { private function runFile( $filename ) { $infile = fopen( $filename, 'rt' ); if( !$infile ) { - wfDie( "Couldn't open $filename\n" ); + wfDie( "Couldn't open file '$filename'\n" ); } else { global $IP; $relative = wfRelativePath( $filename, $IP ); -- 2.20.1