cvs: phpruntests /src/testcase/sections rtExecutableSection.php
| From: | Zoe Slattery | Date: | Sun, 17 May 2009 10:37:41 +0000 |
| Subject: | cvs: phpruntests /src/testcase/sections rtExecutableSection.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-57908@lists.php.net to get a copy of this message | ||
zoe Sun May 17 10:37:41 2009 UTC
Modified files:
/phpruntests/src/testcase/sections rtExecutableSection.php
Log:
removing \n from end of file write
http://cvs.php.net/viewvc.cgi/phpruntests/src/testcase/sections/rtExecutableSection.php?r1=1.2&r2=1.3&diff_format=u
Index: phpruntests/src/testcase/sections/rtExecutableSection.php
diff -u phpruntests/src/testcase/sections/rtExecutableSection.php:1.2
phpruntests/src/testcase/sections/rtExecutableSection.php:1.3
--- phpruntests/src/testcase/sections/rtExecutableSection.php:1.2 Fri Apr 24 08:41:26 2009
+++ phpruntests/src/testcase/sections/rtExecutableSection.php Sun May 17 10:37:41 2009
@@ -7,22 +7,22 @@
protected $fileName;
protected $output;
protected $status;
-
+
protected function init()
{
}
protected function writeExecutableFile()
- {
- $contentsAsString = implode("\n", $this->sectionContents) ."\n";
- file_put_contents($this->fileName, (binary) $contentsAsString);
+ {
+ $contentsAsString = implode("\n", $this->sectionContents);
+ file_put_contents($this->fileName, (binary) $contentsAsString);
}
-
+
public function getFileName()
{
return $this->fileName;
- }
-
+ }
+
public function deleteFile()
{
@unlink($this->fileName);
@@ -32,7 +32,7 @@
{
return $this->output;
}
-
+
abstract function run(rtPhpTest $testcase, rtRuntestsConfiguration $runConfiguration);
}
?>