cvs: phpruntests /src/testcase/sections rtExecutableSection.php
| From: | Zoe Slattery | Date: | Sun, 17 May 2009 11:47:11 +0000 |
| Subject: | cvs: phpruntests /src/testcase/sections rtExecutableSection.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-57909@lists.php.net to get a copy of this message | ||
zoe Sun May 17 11:47:11 2009 UTC
Modified files:
/phpruntests/src/testcase/sections rtExecutableSection.php
Log:
overriding writeExecutableFile
http://cvs.php.net/viewvc.cgi/phpruntests/src/testcase/sections/rtExecutableSection.php?r1=1.3&r2=1.4&diff_format=u
Index: phpruntests/src/testcase/sections/rtExecutableSection.php
diff -u phpruntests/src/testcase/sections/rtExecutableSection.php:1.3
phpruntests/src/testcase/sections/rtExecutableSection.php:1.4
--- phpruntests/src/testcase/sections/rtExecutableSection.php:1.3 Sun May 17 10:37:41 2009
+++ phpruntests/src/testcase/sections/rtExecutableSection.php Sun May 17 11:47:11 2009
@@ -14,7 +14,7 @@
protected function writeExecutableFile()
{
- $contentsAsString = implode("\n", $this->sectionContents);
+ $contentsAsString = implode("\n", $this->sectionContents) . "\n";
file_put_contents($this->fileName, (binary) $contentsAsString);
}