X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fparser%2FTestFileEditor.php;h=7f646710edbaad9fb53ce96a699feaeaf2f66e43;hb=0773e0b86b7ff7fe45f09d806d7b946a41638c3b;hp=05b1216fe65ff62601c3647956ee07c581dfaf54;hpb=19cd639835938da66507a1cc3623073c3217b416;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/parser/TestFileEditor.php b/tests/parser/TestFileEditor.php index 05b1216fe6..7f646710ed 100644 --- a/tests/parser/TestFileEditor.php +++ b/tests/parser/TestFileEditor.php @@ -125,7 +125,7 @@ class TestFileEditor { $line = $this->lines[$this->pos++]; $heading = $this->getHeading( $line ); $expectedEnd = 'end' . $heading; - $contents = $line; + $contents = "$line\n"; do { $line = $this->lines[$this->pos++];