From 52441affd50928effa5ae3f8638cb9673ac4bb79 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 23 Sep 2004 02:30:56 +0000 Subject: [PATCH] Add a newline to the diff temp files to remove the annoying message about it --- maintenance/parserTests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/parserTests.php b/maintenance/parserTests.php index 96f5e53dd4..e88d0ded28 100644 --- a/maintenance/parserTests.php +++ b/maintenance/parserTests.php @@ -182,7 +182,7 @@ class ParserTest { function dumpToFile( $data, $filename ) { $file = fopen( $filename, "wt" ); - fwrite( $file, $data ); + fwrite( $file, rtrim( $data ) . "\n" ); fclose( $file ); } } -- 2.20.1