aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/unit/documentation/ReleaseNotesTest.php
diff options
context:
space:
mode:
authorUmherirrender <umherirrender_de.wp@web.de>2021-12-18 17:48:04 +0100
committerUmherirrender <umherirrender_de.wp@web.de>2021-12-18 17:48:04 +0100
commit7fec5ecda76c4ee565efe12671fc3c8be1a64a7b (patch)
tree169d806f982cfdfb7c4b93b52829e1b0547b88ef /tests/phpunit/unit/documentation/ReleaseNotesTest.php
parent81d2473ecd6fbb98cdb7eee054f2c4647fb19731 (diff)
downloadmediawikicore-7fec5ecda76c4ee565efe12671fc3c8be1a64a7b.tar.gz
mediawikicore-7fec5ecda76c4ee565efe12671fc3c8be1a64a7b.zip
tests: Remove FILE_SKIP_EMPTY_LINES from ReleaseNotesTest
The line count in the error message gets wrong, when the empty lines are not counted. Change-Id: Ibb3a39d55893dc8ddd08208df356d189eabd73df
Diffstat (limited to 'tests/phpunit/unit/documentation/ReleaseNotesTest.php')
-rw-r--r--tests/phpunit/unit/documentation/ReleaseNotesTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/unit/documentation/ReleaseNotesTest.php b/tests/phpunit/unit/documentation/ReleaseNotesTest.php
index f8313c072cf7..d481d4b35bf9 100644
--- a/tests/phpunit/unit/documentation/ReleaseNotesTest.php
+++ b/tests/phpunit/unit/documentation/ReleaseNotesTest.php
@@ -59,7 +59,7 @@ class ReleaseNotesTest extends MediaWikiUnitTestCase {
}
private function assertFileLength( $type, $fileName ) {
- $lines = file( $fileName, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES );
+ $lines = file( $fileName, FILE_IGNORE_NEW_LINES );
$this->assertNotFalse(
$lines,