X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=tests%2Fparser%2FTestFileEditor.php;h=7f646710edbaad9fb53ce96a699feaeaf2f66e43;hb=fa32e55a7c7c133fd841f474237c6a11a1ff0588;hp=05b1216fe65ff62601c3647956ee07c581dfaf54;hpb=c6adf0408cee1c0be97c222aa2689ec5800a84a4;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++];